diff options
| author | Tim Allen <screwtape@froup.com> | 2020-05-17 20:32:25 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-07-12 10:25:58 +1000 |
| commit | de065dad2d48b0d60135b16bff547586bd753f68 (patch) | |
| tree | c408588866ba57d93ddf99b585ac0309849a17f9 /test/highlight/replace-empty-range/script | |
| parent | e760f2df6b5d0958c458898c566152ed53fc90f5 (diff) | |
terminal_ui: restore termios settings before suspending Kakoune.
TerminalUI::suspend() is responsible for undoing all Kakoune's modifications to
the terminal state, actually suspending the process, then re-applying all the
modifications after Kakoune wakes back up.
Previously, the "undo" and "reapply" steps for termios settings were both after
the suspend point, so on some platforms they were incorrect when the user
arrived back at the shell prompt.
Now, the termios "undo" step is back before the suspend point, and the undo and
reapply steps should be in exactly reversed order.
Fixes #3488.
Diffstat (limited to 'test/highlight/replace-empty-range/script')
0 files changed, 0 insertions, 0 deletions
