changed the error msg

This commit is contained in:
Luxferre
2025-12-21 11:38:31 +02:00
parent dbfaaeb4c9
commit 4dccbd87de
+1 -1
View File
@@ -91,7 +91,7 @@ class Ed:
if cmd_char == 'q': if cmd_char == 'q':
if self.dirty and params != "!": if self.dirty and params != "!":
print("?") print("Unsaved changes, q once again to force exit")
self.dirty = False # Standard ed behavior: second q forces exit self.dirty = False # Standard ed behavior: second q forces exit
continue continue
break break