septum icon indicating copy to clipboard operation
septum copied to clipboard

[Feature] Ctrl-D in prompt could exit program

Open onox opened this issue 3 years ago • 1 comments
trafficstars

Is your feature request related to a problem? Please describe. I can exit the program only by typing 'quit'. I would like to be able to exit using a keyboard shortcut.

Describe the solution you'd like When the user presses Ctrl-D, the program exits. Programs like python do this when the user is in the prompt.

onox avatar Apr 27 '22 21:04 onox

This involves a change done to the line editor in pyjarrett/Trendy_Terminal in Trendy_Terminal.IO.Line_Editors.Get_Line which is a horrible mess that needs to get refactored. It works for now, but this change probably needs to be integrated into my idea of having remappable keys as part of the line editor for trendy terminal.

pyjarrett avatar May 01 '22 00:05 pyjarrett