mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-10-04 09:07:33 +03:00
3.4 KiB
3.4 KiB
Twitch chat in the terminal
What it looks like
Keybinds
Normal mode
Key | Description |
c | Go to the chat window chat. |
i | Enter message input mode for sending messages. Exit this mode with `Esc`. |
? | Have the keybinds popup window appear. |
q | Quit out of the entire application once in the base chat view. |
s | Open a popup window to switch channels. |
Ctrl + f | Enter message search mode, which highlights messages in the main window which match the query. |
Esc | Exits out of layered windows, such as going from the help window to normal view. |
Input mode (message sending/searching, channel swapping)
Key | Description |
Ctrl + w | Cuts a single word (from the cursor to the next whitespace). |
Ctrl + u | Cuts the entire line. |
Ctrl + f | Move cursor to the right. |
Ctrl + b | Move cursor to the left. |
Ctrl + a | Move cursor to the start. |
Ctrl + e | Move cursor to the end. |
Alt + f | Move to the end of the next word. |
Alt + b | Move to the start of the previous word. |
Ctrl + t | Swap previous character with current character. |
Alt + t | Swap previous word with current word. |
Ctrl + u | Remove everything before the cursor. |
Ctrl + k | Remove everything after the cursor. |
Ctrl + w | Remove the previous word. |
Ctrl + d | Remove character to the right. |
Enter | Confirm the current text to go through (doesn't do anything in message search mode). |
Setup
- Make sure you have Cargo installed from rust-lang website. Make sure the Cargo binary folder is appended to your
$PATH
environment variable if you get errors when attempting to install the binary with Cargo. - Copy
default-config.toml
to aconfig.toml
file. Based on your OS, place the config file in the directories listed below. Any command line options/arguments taken fromtwt --help
(when the binary is eventually installed) will overwrite the corresponding value in the config file.- Windows:
%appdata%\twt\config.toml
- Linux/MacOs:
~/.config/twt/config.toml
- Windows:
- Get an OAuth token from Twitch, and place the value in the
token
variable in theconfig.toml
file that you created. - Run
cargo install twitch-tui
to install the binary. Run the same command in the future to acquire updates. - Running
twt
in the terminal will launch the application. For CLI options/arguments, runtwt --help
.
If you have any problems, do not hesitate to submit an issue.
More information
- This project used to be named
terminal-twitch-chat
, but was renamed totwitch-tui
in version 1.2.2.