about summary refs log tree commit diff stats
path: root/res/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'res/config.toml')
-rw-r--r--res/config.toml5
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"]();
 '''