1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

LibVT: Respond to DSR 0 (device status)

Also emit query responses in a single write() syscall instead of going
character-at-a-time.
This commit is contained in:
Andreas Kling 2020-05-09 10:38:57 +02:00
parent b1fee13904
commit 283bd1a95c
4 changed files with 19 additions and 16 deletions

View file

@ -41,7 +41,7 @@ public:
virtual void set_window_title(const StringView&) = 0;
virtual void terminal_did_resize(u16 columns, u16 rows) = 0;
virtual void terminal_history_changed() = 0;
virtual void emit_char(u8) = 0;
virtual void emit(const u8*, size_t) = 0;
};
struct Attribute {
@ -178,7 +178,7 @@ private:
void NEL();
void IND();
void RI();
void DSR();
void DSR(const ParamVector&);
TerminalClient& m_client;