diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-16 09:45:22 +0430 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-16 10:11:56 +0100 |
commit | bbaa4630323c20e37e2a0ead478987cb5f02fc53 (patch) | |
tree | 7d670ceda162c6713d297c5afa691aaef7da146d /AK/Concepts.h | |
parent | 3f08e957d46efc624ea50fd5ef9cbae58d4d85f1 (diff) | |
download | serenity-bbaa4630323c20e37e2a0ead478987cb5f02fc53.zip |
LibLine: Make line management less broken when at the last line
Previously, all sorts of weird stuff would happen when the editor was at
the last line of the terminal (or when the printed line would be at the
last line), this commit makes the editor scroll the terminal up before
trying to write to a row that doesn't actually exist (yet).
This fixes ^R search making a mess when initiated at the last line
(especially with multiline prompts).
Diffstat (limited to 'AK/Concepts.h')
0 files changed, 0 insertions, 0 deletions