Skip to content
New issue

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

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

Already on GitHub? # to your account

Ctrl-C exits interactive mode #497

Closed
wornet-aer opened this issue Sep 30, 2024 · 1 comment
Closed

Ctrl-C exits interactive mode #497

wornet-aer opened this issue Sep 30, 2024 · 1 comment

Comments

@wornet-aer
Copy link

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
Copy link
Collaborator

speed47 commented 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 ;)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants