瀏覽代碼

key 'q' at key prompt quits context

master
Arun Prakash Jana 5 年之前
父節點
當前提交
da661987aa
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. +1
    -0
      README.md
  2. +3
    -0
      nnn.c

+ 1
- 0
README.md 查看文件

@@ -273,6 +273,7 @@ The key prompt, invoked by <kbd>^B</kbd>, provides a powerful multi-functional n
| <kbd>~</kbd> | Go to HOME directory |
| <kbd>-</kbd> | Go to last visited directory |
| <kbd>&</kbd> | Go to start directory |
| <kbd>q</kbd> | Quit context |

If all the configured bookmark keys are single character, the prompt is not shown and <kbd>Enter</kbd> is not required; just press <kbd>^B</kbd> followed by the key.



+ 3
- 0
nnn.c 查看文件

@@ -2807,6 +2807,9 @@ nochange:
if (cfg.filtermode)
presel = FILTER;
goto begin;
case 'q':
presel = 'q';
goto nochange;
}
}



Loading…
取消
儲存