components/help: remove "/" keybinding, document middle mouse click

This commit is contained in:
Simon Ser 2022-01-09 19:20:44 +01:00
parent 690845c2af
commit 5e34067d38

View file

@ -26,14 +26,14 @@ function KeyBindingsHelp() {
`;
});
return html`
<dl>
<dt><kbd>/</kbd></dt>
<dd>Start writing a command</dd>
if (!window.matchMedia("(pointer: none)").matches) {
l.push(html`
<dt><strong>Middle mouse click</strong></dt>
<dd>Close buffer</dd>
`);
}
${l}
</dl>
`;
return html`<dl>${l}</dl>`;
}
function CommandsHelp() {