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