handle the user hitting ^D while interacting properly
git-svn-id: file:///home/svn/framework3/trunk@8911 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
79ac118f47
commit
f7f0f03a4a
|
@ -204,6 +204,8 @@ class CommandShell
|
|||
# Writes to the command shell.
|
||||
#
|
||||
def shell_write(buf)
|
||||
return if not buf
|
||||
|
||||
begin
|
||||
framework.events.on_session_command(self, buf.strip)
|
||||
rstream.write(buf)
|
||||
|
|
Loading…
Reference in New Issue