diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-03-11 12:22:55 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-11 14:47:56 +0100 |
commit | eb1ca965c756f6c0670db5fa1d747e72491f0699 (patch) | |
tree | 7681f18ff2b8746826ab6ccb05f56ce23d740843 /Kernel/Heap | |
parent | 9853a9bc8acf6a287f764dc7798161499811c53a (diff) | |
download | serenity-eb1ca965c756f6c0670db5fa1d747e72491f0699.zip |
LibLine: Cleanup the suggestions before inserting a new code point
Otherwise `reposition_cursor()` will move the cursor one character too
far to the right, and since we don't redraw the entire buffer when
the character is inserted at the end, the mistake won't be immediately
fixed by a complete redraw.
Fixes #5722
Diffstat (limited to 'Kernel/Heap')
0 files changed, 0 insertions, 0 deletions