From 5e34067d38e8eb75297a5c3b2498428965f27349 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 9 Jan 2022 19:20:44 +0100 Subject: [PATCH] components/help: remove "/" keybinding, document middle mouse click --- components/help.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/help.js b/components/help.js index f31aa50..1add27a 100644 --- a/components/help.js +++ b/components/help.js @@ -26,14 +26,14 @@ function KeyBindingsHelp() { `; }); - return html` -
-
/
-
Start writing a command
+ if (!window.matchMedia("(pointer: none)").matches) { + l.push(html` +
Middle mouse click
+
Close buffer
+ `); + } - ${l} -
- `; + return html`
${l}
`; } function CommandsHelp() {