This website works better with JavaScript.
首頁
探索
說明
登入
rinri
/
dmenu-rinri
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fix crash with ctrl-enter as input
reproduce: ./dmenu; send EOF; press ctrl+enter.
master
Hiltjo Posthuma
10 年之前
committed by
sin
父節點
4c50e43df4
當前提交
aa69426670
共有
1 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
dmenu.c
+ 2
- 1
dmenu.c
查看文件
@@ -370,7 +370,8 @@ keypress(XKeyEvent *ev) {
puts((sel && !(ev->state & ShiftMask)) ? sel->text : text);
if(!(ev->state & ControlMask))
exit(EXIT_SUCCESS);
sel->out = True;
if(sel)
sel->out = True;
break;
case XK_Right:
if(text[cursor] != '\0') {
Write
Preview
Loading…
取消
儲存