mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #497] Ctrl-C exits interactive mode #129
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wornet-aer on GitHub (Sep 30, 2024).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/497
When using the interactive mode the help states:
- exit Quit the interactive mode, 'quit' and ^D can be used instead.However in my installation, it also quits the current ssh session to the-bastion. Usually ^C only interrupts the current process and doesn't exit the whole session. So I would expect the-bastion's interactive shell to just return to an empty input line within the interactive mode after pressing Ctrl-C.
If this behaviour is explicitly wanted, please add ^C to the help, so that others will be warned. ;-)
@speed47 commented on GitHub (Oct 16, 2024):
Thanks for the report, indeed having CTRL+C "cancelling" the current prompt and not exiting is more interesting than having it exit the interactive mode, thanks for the implicit suggestion ;)