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
1 changed files with 2 additions and 1 deletions

View File

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