Do not beep on window resizes
This commit is contained in:
parent
30ed61fdd2
commit
4d6999c415
1
sdn.cpp
1
sdn.cpp
@ -1350,6 +1350,7 @@ 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)) {
|
||||||
|
if (c != KEY (RESIZE))
|
||||||
beep ();
|
beep ();
|
||||||
} else {
|
} else {
|
||||||
g.editor_line.insert (g.editor_cursor, 1, c);
|
g.editor_line.insert (g.editor_cursor, 1, c);
|
||||||
|
Loading…
Reference in New Issue
Block a user