diff options
author | bptato <nincsnevem662@gmail.com> | 2023-01-20 13:22:03 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-01-20 13:22:16 +0100 |
commit | aa5c5f18257a7fdf42eaa7e63ea18f93a6a4ee8c (patch) | |
tree | dcf739edf4c0b033340170fd5af784d7ac2bbf61 /res | |
parent | 5c10df5ea14305bd6da238bd56a10192f4a06fea (diff) | |
download | chawan-aa5c5f18257a7fdf42eaa7e63ea18f93a6a4ee8c.tar.gz |
res/config: fix M-c console binding
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/res/config.toml b/res/config.toml index 541f28e3..d4aab229 100644 --- a/res/config.toml +++ b/res/config.toml @@ -123,8 +123,5 @@ C-p = 'line.prevHist()' C-n = 'line.nextHist()' M-c = ''' pager.commandMode = !(console.buffer == pager.buffer); -if (pager.commandMode) - console.hide(); -else - console.show(); +console[pager.commandMode ? "show" : "hide"](); ''' |