Skip to content

Allow /quit with a message#395

Merged
osa1 merged 9 commits into
osa1:masterfrom
ALEX11BR:alex11br
Dec 12, 2022
Merged

Allow /quit with a message#395
osa1 merged 9 commits into
osa1:masterfrom
ALEX11BR:alex11br

Conversation

@ALEX11BR

Copy link
Copy Markdown
Contributor

This pull request adds an optional message parameter to the /quit command to be sent to the connected servers as a reason for leaving.

This pull request was tested by using a tiny and a HexChat client, both connected to the same server.

Fixes #365.

@osa1 osa1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

Should we add the same parameter to /close as well, to be used in quit message when the closed tab is a server tab?

Comment thread crates/libtiny_tui/src/tui.rs Outdated
@ALEX11BR

Copy link
Copy Markdown
Contributor Author

added the same parameters to the /close command as well

@osa1
osa1 merged commit 9d46ab6 into osa1:master Dec 12, 2022
@osa1

osa1 commented Dec 12, 2022

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/quit with a message

2 participants