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

Terminal: Audible vs Visible beep option

This commit is contained in:
Christopher Dumas 2019-05-31 12:43:58 -07:00 committed by Andreas Kling
parent 9ac95d1867
commit f8a02d4733
7 changed files with 5995 additions and 9 deletions

View file

@ -26,6 +26,8 @@ public:
void apply_size_increments_to_window(GWindow&);
void set_opacity(float);
bool should_beep() { return m_should_beep; };
void set_should_beep(bool sb) { m_should_beep = sb; };
RetainPtr<CConfigFile> config() const { return m_config; }
@ -140,6 +142,9 @@ private:
byte m_saved_cursor_column { 0 };
bool m_stomp { false };
bool m_should_beep { false };
int m_visual_beep_frames { 0 };
Attribute m_current_attribute;
void execute_escape_sequence(byte final);