Do not beep on window resizes
This commit is contained in:
parent
30ed61fdd2
commit
4d6999c415
3
sdn.cpp
3
sdn.cpp
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user