zellij/zellij-utils
Matthias Beyer 6e102c6084
fix(cli): let the exit message be different when detaching (#1573)
* Let the exit message be different when detaching

This patch changes the exit message printed to the user, so the user
does not get the impression that they fat-fingered an "exit" instead of
what was intended (a detach).

For this, the InputHandler::exit() function was refactored, to get the
reason as a parameter. As this function is not pub, this is considered
okay.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Change detach message

This patch changes the detach message to be more in line with the other
messages zellij displays to the user.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-07-12 12:17:24 +02:00
..
assets fix: add usage comment to fish shell auto-start snippet (#1574) (#1583) 2022-07-12 10:27:46 +09:00
src fix(cli): let the exit message be different when detaching (#1573) 2022-07-12 12:17:24 +02:00
Cargo.toml refactor(crates): move shared contents from zellij tile to zellij utils (#1541) 2022-07-06 16:06:56 +02:00