-
Notifications
You must be signed in to change notification settings - Fork 84
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
Logs -f: cannot Ctrl-C out of followed logs #99
Comments
I also tried updating to using the |
hrmm, and you're doing this via just If you can, could you test the ctrlc crate on your system via the following:
Which should output something like:
If that works it's probably something inside Click and I can try and look further. |
@nicklan Yes, to confirm, I installed the latest version of click by cloning the repo, and running I tried running rust-ctrlc directly, and this is what I got:
|
odd, okay, I will try and investigate this further. thanks for the info! |
@nicklan seeing the same issue today, isn't the cause that:
As far as I see it, the ^C displays on the screen when I press it, but will only terminate the stream after a line has been read from the server. Shouldn't reading from the server be async or in a thread? |
Thanks for writing this! This is an amazing utility for managing/monitoring K8s!
My use-case is, when I have a
pod
selected, I like to follow logs at times. Now, from withinclick
,logs
works flawlessly, as expected. However, when I issue the commandlogs -f
, it starts following the logs for the currently selected pod, but I can never terminate the followed log (by Ctrl+C, for example). The only way I have found to killclick
, isCtrl+Z
, thenkill %1
.I am on MacOS with
Click 0.3.2
The text was updated successfully, but these errors were encountered: