chrisant996 / clink

Bash's powerful command line editing in cmd.exe
https://chrisant996.github.io/clink/
GNU General Public License v3.0
3.44k stars 135 forks source link

preventing exit terminal by C-d #626

Closed gotoh closed 2 months ago

gotoh commented 2 months ago

Cmd will exit by C-d when no character is in command line. It is not wanted behaviour for me. Is it possible to prevent that behaviour by setting any option like /set -o ignoreeof on bash?

chrisant996 commented 2 months ago

Searching the Clink documentation for "exit" finds it on the first match:

https://chrisant996.github.io/clink/clink.html#gettingstarted_enhanceddefaults

https://chrisant996.github.io/clink/clink.html#ctrld_exits

gotoh commented 2 months ago

Thank you. I'll read the documentation again carefully.