Commit f98912a4 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Force shell to do nothing in empty lines

parent 854222c7
......@@ -73,6 +73,9 @@ class Shell(Cmd):
undoc_header = 'interactive shell commands:'
def emptyline(self):
self.lastcmd = ''
def postcmd(self, post, line):
if self._context_stack:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment