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() {