Do not beep on window resizes

This commit is contained in:
Přemysl Eric Janouch 2023-06-11 21:11:20 +02:00
parent 30ed61fdd2
commit 4d6999c415
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1350,7 +1350,8 @@ fun handle_editor (wint_t c) {
if (auto handler = g.editor_on[action]) { if (auto handler = g.editor_on[action]) {
handler (); handler ();
} else if (c & (ALT | SYM)) { } else if (c & (ALT | SYM)) {
beep (); if (c != KEY (RESIZE))
beep ();
} else { } else {
g.editor_line.insert (g.editor_cursor, 1, c); g.editor_line.insert (g.editor_cursor, 1, c);
g.editor_cursor++; g.editor_cursor++;