all repos — dmenu @ 5867c533909b8b6fd8318f307460e894ca8fee3b

my build of dmenu

simpler vline
Connor Lane Smith cls@lubutu.com
Wed, 06 Jul 2011 13:40:36 +0100
commit

5867c533909b8b6fd8318f307460e894ca8fee3b

parent

34a816f87d382de2891ba2ed734e2de48ed0b357

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -330,8 +330,7 @@ if(cursor > 0 && (!sel || !sel->left || lines > 0)) {

cursor = nextrune(-1); break; } - else if(lines > 0) - return; + /* fallthrough */ case XK_Up: if(sel && sel->left && (sel = sel->left)->right == curr) { curr = prev;

@@ -359,8 +358,7 @@ if(text[cursor] != '\0') {

cursor = nextrune(+1); break; } - else if(lines > 0) - return; + /* fallthrough */ case XK_Down: if(sel && sel->right && (sel = sel->right) == next) { curr = next;