Silence bells caused by cursor movement after click at prompt

This commit is contained in:
Kovid Goyal
2021-09-29 10:27:13 +05:30
parent 3c3e97aa6e
commit 10fbf36e92
4 changed files with 28 additions and 2 deletions

View File

@@ -128,6 +128,9 @@ typedef struct {
ANSIBuf as_ansi_buf;
char_type last_graphic_char;
uint8_t main_key_encoding_flags[8], alt_key_encoding_flags[8], *key_encoding_flags;
struct {
monotonic_t start, duration;
} ignore_bells;
} Screen;