diff options
-rw-r--r-- | Lib/cmd.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -205,6 +205,8 @@ class Cmd: if cmd is None: return self.default(line) self.lastcmd = line + if line == 'EOF' : + self.lastcmd = '' if cmd == '': return self.default(line) else: |