Browse Source

fixed vlist cursor

master
Connor Lane Smith 14 years ago
parent
commit
bff1526d31
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c View File

@@ -472,7 +472,7 @@ kpress(XKeyEvent * e) {
calcoffsets();
break;
case XK_Left:
if(cursor > 0 && (!sel || !sel->left)) {
if(cursor > 0 && (!sel || !sel->left || lines > 0)) {
while(cursor-- > 0 && !IS_UTF8_1ST_CHAR(text[cursor]));
break;
}


Loading…
Cancel
Save