1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:57:36 +00:00

Terminal+TerminalSettings: Add caret customization

This commit is contained in:
Michał Lach 2022-05-12 23:08:51 +02:00 committed by Sam Atkins
parent e2b0f6795f
commit e9dae38f38
6 changed files with 103 additions and 2 deletions

View file

@ -26,7 +26,7 @@ private:
static VT::TerminalWidget::BellMode parse_bell(StringView bell_string);
static String stringify_bell(VT::TerminalWidget::BellMode bell_mode);
VT::TerminalWidget::BellMode m_bell_mode = VT::TerminalWidget::BellMode::Disabled;
VT::TerminalWidget::BellMode m_bell_mode { VT::TerminalWidget::BellMode::Disabled };
size_t m_max_history_size;
bool m_show_scrollbar { true };
bool m_confirm_close { true };
@ -50,8 +50,12 @@ private:
RefPtr<Gfx::Font> m_font;
float m_opacity;
String m_color_scheme;
VT::CursorShape m_cursor_shape { VT::CursorShape::Block };
bool m_cursor_is_blinking_set { true };
RefPtr<Gfx::Font> m_original_font;
float m_original_opacity;
String m_original_color_scheme;
VT::CursorShape m_original_cursor_shape;
bool m_original_cursor_is_blinking_set;
};