c-bata / kube-prompt

An interactive kubernetes client featuring auto-complete.
MIT License
1.79k stars 134 forks source link

Exiting `get pods --watch` #4

Closed wayneashleyberry closed 7 years ago

wayneashleyberry commented 7 years ago

Is there a way to exit a --watch command without exiting the prompt completely?

solcates commented 7 years ago

I have a similar problem when doing a logs -f pod_id...

I think during tailing type operations like this, a different Executor may be needed to handle the keyboard operations to allow for an easier exit of those types of commands.

c-bata commented 7 years ago

Oh. really? I'll confirm later. Thanks for reporting.

c-bata commented 7 years ago

I understand.

I think during tailing type operations like this, a different Executor may be needed to handle the keyboard operations to allow for an easier exit of those types of commands.

Yeah, that's right. I'll fix.

wayneashleyberry commented 7 years ago

Thanks @c-bata :)

c-bata commented 7 years ago

Hi @wayneashleyberry @solcates ! I fixed this issue. Maybe I will release the next version of kube-prompt contains this changes 5 days later.

fix-exiting-control-c

Thanks for reporting.

wayneashleyberry commented 7 years ago

Awesome, thanks @c-bata 🎉