diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-29 09:20:01 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-29 09:20:56 +0200 |
commit | dbe95fa298bc752d6ceeb5b8cba06e19d253020f (patch) | |
tree | d095c5f82c66bbbae282d6494c6892787e93fc05 /xC.c | |
parent | 9d5e57a501f37661ca533c9c3774dce186694010 (diff) | |
download | xK-dbe95fa298bc752d6ceeb5b8cba06e19d253020f.tar.gz xK-dbe95fa298bc752d6ceeb5b8cba06e19d253020f.tar.xz xK-dbe95fa298bc752d6ceeb5b8cba06e19d253020f.zip |
xC: make libedit history switching more reliable
Diffstat (limited to 'xC.c')
-rw-r--r-- | xC.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1057,6 +1057,8 @@ input_el__bottom (struct input_el *self) (void) el_wgets (self->editline, &dummy_count); } + // Otherwise input may survive our erasing, reproducer: a^Rb^[^N + input_el_clear_line (self); el_wset (self->editline, EL_SETFP, 1, out); } |