dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 8d6abf3ff313b4bcb6bc82dd0c338820f90e78cc
parent 21ff403c4ade3884dc84130bc26d01be36dcd8bd
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Fri, 10 Oct 2014 15:43:42 +0200

Use NOMOD where appropriate

Diffstat:
dvtm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -1402,12 +1402,12 @@ main(int argc, char *argv[]) { if (mod >= 0) { if ((key = keybinding(mod, code))) key->action.cmd(key->action.args); - mod = ERR; + mod = NOMOD; } else if (code == KEY_MOUSE) { handle_mouse(); } else if (is_modifier(code)) { mod = code; - } else if ((key = keybinding(ERR, code))) { + } else if ((key = keybinding(NOMOD, code))) { key->action.cmd(key->action.args); } else if (sel && vt_copymode(sel->term)) { vt_copymode_keypress(sel->term, code);