Closed bynect closed 3 years ago
Maybe we should add a dirty
boolean flag that is set when the file is modified, and if the user presses ctrl+c and this flag is set ted will prompt for confirmation like Exit without saving
(true/false)
I am doing this now.
Actually ted can be closed just with ctrl+c, even if unsaved changes to a file have been made.
Isn't a little bit too easy to erroneously quit in this way? Should ted prompt the user for a confirm message (ex: Are you sure to quit?)? Or maybe introduce the exit/quit config dialog (like vim)?