Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow /quit with a message #395

Merged
merged 9 commits into from
Dec 12, 2022
Prev Previous commit
Next Next commit
Add mentions to the updated /quit command
  • Loading branch information
ALEX11BR committed Dec 9, 2022
commit 3ea01f49118011f80f1d02f703cafaf62350bc7e
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Commands start with `/` character.
Running this command in a server tab applies it to all channels of that
server. You can check your notify state in the status line.

- `/quit`: Quit
- `/quit`: Quit. You can use `/quit <reason>` to send a goodbye message.

## Server commands

Expand Down
2 changes: 1 addition & 1 deletion crates/libtiny_tui/src/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl CmdUsage {
}
}

const QUIT_CMD: CmdUsage = CmdUsage::new("quit", "Quit tiny", "`/quit`");
const QUIT_CMD: CmdUsage = CmdUsage::new("quit", "Quit tiny", "`/quit` or `/quit <reason>`");
const CLEAR_CMD: CmdUsage = CmdUsage::new("clear", "Clears current tab", "`/clear`");
const IGNORE_CMD: CmdUsage = CmdUsage::new("ignore", "Ignore join/quit messages", "`/ignore`");
const NOTIFY_CMD: CmdUsage = CmdUsage::new(
Expand Down