YS-L / csvlens

Command line csv viewer
MIT License
2.49k stars 40 forks source link

Add CTRLC support #15

Open zhiburt opened 1 year ago

zhiburt commented 1 year ago

Hi @YS-L

I am not sure if it's already present. It just doesn't work on my end somehow.

Take care.

YS-L commented 1 year ago

Hi @zhiburt, thanks for reporting. Currently there is no action performed on CTRL-C. Do you mean the program should exit on CTRL-C? I wanted csvlens to behave similarly as the program less which doesn't exit on CTRL-C, so it didn't occur to me that it should be handled.

zhiburt commented 1 year ago

I wanted csvlens to behave similarly as the program less which doesn't exit on CTRL-C, so it didn't occur to me that it should be handled.

Good cause :+1:

But at least for less CTRL_Z works :)