mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
VirtualConsole: Support the 'A' and 'D' CSI sequences.
This makes backspace work correctly when line editing with bash-2.05b.
This commit is contained in:
parent
a8c7b6ce86
commit
4f6438ec66
5 changed files with 47 additions and 7 deletions
|
@ -29,6 +29,8 @@ public:
|
|||
bool should_echo_input() const { return m_termios.c_lflag & ECHO; }
|
||||
bool in_canonical_mode() const { return m_termios.c_lflag & ICANON; }
|
||||
|
||||
void set_default_termios();
|
||||
|
||||
protected:
|
||||
virtual void on_tty_write(const byte*, size_t) = 0;
|
||||
void set_size(unsigned short columns, unsigned short rows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue