Skip to content

Commit e259882

Browse files
Merge pull request Pennyw0rth#334 from fpreynaud/main
[NXCDB] Add support for CTRL-D
2 parents 67da598 + f3fb3d4 commit e259882

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

nxc/nxcdb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,11 @@ def help_workspace():
512512
def do_exit(line):
513513
sys.exit()
514514

515+
@staticmethod
516+
def do_EOF(line):
517+
sys.exit()
518+
519+
515520
@staticmethod
516521
def help_exit():
517522
help_string = """

0 commit comments

Comments
 (0)