mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
LibLine: Turn bracketed paste mode off in Editor::restore()
We turn it on in initialize(), so turn it off in restore(). Not all CLI applications can handle this mode correctly, and there's no reason to leave it on.
This commit is contained in:
parent
860c4763c3
commit
c257d27f0b
1 changed files with 2 additions and 0 deletions
|
@ -344,6 +344,8 @@ private:
|
|||
VERIFY(m_initialized);
|
||||
tcsetattr(0, TCSANOW, &m_default_termios);
|
||||
m_initialized = false;
|
||||
if (m_configuration.enable_bracketed_paste)
|
||||
warn("\x1b[?2004l");
|
||||
for (auto id : m_signal_handlers)
|
||||
Core::EventLoop::unregister_signal(id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue