Skip to content

Commit

Permalink
deploy: 2cbb4b8
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Feb 12, 2024
1 parent e087dae commit cb4f0a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion guide/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h2 id="cargo"><a class="header" href="#cargo">Cargo</a></h2>
<pre><code class="language-sh">cargo install twitch-tui
</code></pre>
<p>For a specific version, head over to the <a href="https://github.com/Xithrius/twitch-tui/releases">releases page</a> and select the release you want.</p>
<p>Installing a version such as <code>2.0.0-alpha.1</code> would be <code>cargo install twitch-tui --version &quot;2.0.0-alpha.1&quot;</code>.</p>
<p>Installing a version such as <code>2.0.0-alpha.1</code> would be <code>cargo install twitch-tui --version "2.0.0-alpha.1"</code>.</p>
<p>(PPT and AUR repos coming soon)</p>
<p>To uninstall, run the command <code>cargo uninstall twitch-tui</code>.</p>
<h2 id="nix"><a class="header" href="#nix">Nix</a></h2>
Expand Down
2 changes: 1 addition & 1 deletion keybinds/normal.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h1 class="menu-title">twitch-tui</h1>
<div id="content" class="content">
<main>
<h1 id="normal-mode-keybind-map"><a class="header" href="#normal-mode-keybind-map">Normal mode keybind map</a></h1>
<p>Can be the start state by configuring <code>first_state</code> in the config to either <code>&quot;normal&quot;</code> or <code>&quot;default&quot;</code>.</p>
<p>Can be the start state by configuring <code>first_state</code> in the config to either <code>"normal"</code> or <code>"default"</code>.</p>
<table>
<tr>
<td> <b>Key</b>
Expand Down
4 changes: 2 additions & 2 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h2 id="cargo"><a class="header" href="#cargo">Cargo</a></h2>
<pre><code class="language-sh">cargo install twitch-tui
</code></pre>
<p>For a specific version, head over to the <a href="https://github.com/Xithrius/twitch-tui/releases">releases page</a> and select the release you want.</p>
<p>Installing a version such as <code>2.0.0-alpha.1</code> would be <code>cargo install twitch-tui --version &quot;2.0.0-alpha.1&quot;</code>.</p>
<p>Installing a version such as <code>2.0.0-alpha.1</code> would be <code>cargo install twitch-tui --version "2.0.0-alpha.1"</code>.</p>
<p>(PPT and AUR repos coming soon)</p>
<p>To uninstall, run the command <code>cargo uninstall twitch-tui</code>.</p>
<h2 id="nix"><a class="header" href="#nix">Nix</a></h2>
Expand Down Expand Up @@ -236,7 +236,7 @@ <h2 id="run-it"><a class="header" href="#run-it">Run it</a></h2>
<li><a href="keybinds/insert.html">Insert mode(s)</a></li>
</ul>
<div style="break-before: page; page-break-before: always;"></div><h1 id="normal-mode-keybind-map"><a class="header" href="#normal-mode-keybind-map">Normal mode keybind map</a></h1>
<p>Can be the start state by configuring <code>first_state</code> in the config to either <code>&quot;normal&quot;</code> or <code>&quot;default&quot;</code>.</p>
<p>Can be the start state by configuring <code>first_state</code> in the config to either <code>"normal"</code> or <code>"default"</code>.</p>
<table>
<tr>
<td> <b>Key</b>
Expand Down
2 changes: 1 addition & 1 deletion searcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ window.search = window.search || {};

// Eventhandler for keyevents on `document`
function globalKeyHandler(e) {
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.target.type === 'textarea' || e.target.type === 'text') { return; }
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.target.type === 'textarea' || e.target.type === 'text' || !hasFocus() && /^(?:input|select|textarea)$/i.test(e.target.nodeName)) { return; }

if (e.keyCode === ESCAPE_KEYCODE) {
e.preventDefault();
Expand Down

0 comments on commit cb4f0a0

Please sign in to comment.