Closed lschans closed 3 months ago
The ability exists. Refer to the docs.
Tomorrow I can point to the specific topic if you haven't found it yet.
You've probably installed Clink using the setup .exe program, and installed with "Use enhanced defaults" checked. That skews a couple of defaults more to Windows, instead of Linux. Such as Ctrl-D behavior and other key bindings. You may want to read the doc section Enhanced default settings and maybe other parts of the Getting Started section as well.
The cmd.ctrld_exits setting controls whether Ctrl-D exits.
clink set cmd.ctrld_exits true
And this question led me to notice there's a minor doc mistake: The cmd.ctrld_exits
setting should have a "*" next to its default value, since when Clink is installed with "Use enhanced defaults" enabled in the setup .exe installer, then the default changes from "True" to "False".
Super, I made the setting and it works now. I have to admin I just installed it with all the defaults. Great job on clink by the way it makes my life a lot more sane while working in windows.
I don't know if it's possible, but the combination of CTRL+D to exit the terminal like we do on Mac and Linux would be very nice. The amount of times I've used this key combo (automatically and without thinking) in Windows just to not see my terminal window close is beyond countable.
Thanks in advance