Terminal: Make Terminal::handle_csi() return invalidated rectangle

When I updated Terminal to only do a single invalidation after all of
input text was printed, I forgot to change handle_csi
This commit is contained in:
2024-09-26 15:05:11 +03:00
parent 82e6a3582d
commit 1a6804b4b4
2 changed files with 49 additions and 41 deletions

View File

@@ -35,8 +35,8 @@ public:
uint32_t rows() const { return m_window->height() / m_font.height(); }
private:
void handle_csi(char ch);
void handle_sgr();
Rectangle handle_csi(char ch);
Rectangle putchar(uint8_t ch);
bool read_shell();