mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
Kernel: Give each TTY 1 KB of input buffer
This papers over an immediate issue where pseudoterminals would choke on more than 16 characters of pasted input in the GUI terminal. Longer-term we should find a more elegant solution than using a static size CircularQueue for this.
This commit is contained in:
parent
32810a920f
commit
5768b384b9
Notes:
sideshowbarker
2024-07-19 12:33:45 +09:00
Author: https://github.com/awesomekling
Commit: 5768b384b9
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ private:
|
|||
// ^CharacterDevice
|
||||
virtual bool is_tty() const final override { return true; }
|
||||
|
||||
CircularQueue<u8, 16> m_input_buffer;
|
||||
CircularQueue<u8, 1024> m_input_buffer;
|
||||
pid_t m_pgid { 0 };
|
||||
termios m_termios;
|
||||
unsigned short m_rows { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue