sharkdp / hexyl

A command-line hex viewer
Apache License 2.0
8.92k stars 227 forks source link

Can't Ctrl-C out of editor #132

Closed Jamesthe1 closed 3 years ago

Jamesthe1 commented 3 years ago

When attempting to use Ctrl and C in v0.8.0 (latest), it won't respond to it. I'm not aware of any way to exit the program, and I'm essentially stuck.

selfup commented 3 years ago

Not a long term solution but you can:

ps aux | grep hexyl

Should give you the PID and you can kill -9 PID

-9 is SIGKILL so it'll be a harsh one but should do the trick.

Sounds like something hung up?

sharkdp commented 3 years ago

Thank you for reporting this. I can not reproduce it. Which OS are you on and how exactly are you calling hexyl?

Jamesthe1 commented 3 years ago

This was on Arch Linux, no desktop environment installed at the time.

sharkdp commented 3 years ago

@Jamesthe1 Can you reproduce this yourself? With a particular file?

I'm on Arch Linux myself, but I can not reproduce this.

Jamesthe1 commented 3 years ago

Hi, This appears to occur when run in arch-chroot, now that I remember it.

Jamesthe1 commented 3 years ago

I have realized the issue. Control-Z is the way out in this mode and it was my own lack of knowledge.