changed the error msg
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user