diff options
-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"](); ''' |