瀏覽代碼

fixed vlist cursor

master
Connor Lane Smith 14 年之前
父節點
當前提交
bff1526d31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c 查看文件

@@ -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…
取消
儲存