1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

Terminal+LibVT: Toggle TerminalWidget's focus on input preemption

This prevents Terminal's cursor from blinking when a Popup is open.
This commit is contained in:
thankyouverycool 2022-11-17 09:23:09 -05:00 committed by Andreas Kling
parent 657ff1cd19
commit f7eb72a8be
2 changed files with 6 additions and 2 deletions

View file

@ -96,6 +96,8 @@ public:
void set_color_scheme(StringView);
void set_logical_focus(bool);
VT::CursorShape cursor_shape() { return m_cursor_shape; }
virtual void set_cursor_blinking(bool) override;
virtual void set_cursor_shape(CursorShape) override;
@ -136,8 +138,6 @@ private:
// ^GUI::Clipboard::ClipboardClient
virtual void clipboard_content_did_change(String const&) override { update_paste_action(); }
void set_logical_focus(bool);
void send_non_user_input(ReadonlyBytes);
Gfx::IntRect glyph_rect(u16 row, u16 column);