Bug fix for previous workaround
git-svn-id: file:///home/svn/framework3/trunk@3799 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4ef104e869
commit
cac9561b61
|
@ -26,7 +26,8 @@ module Interactive
|
|||
eof = false
|
||||
|
||||
# Start the readline stdin monitor
|
||||
user_input.readline_start() if user_input.supports_readline
|
||||
# XXX disabled
|
||||
# user_input.readline_start() if user_input.supports_readline
|
||||
|
||||
# Handle suspend notifications
|
||||
handle_suspend
|
||||
|
@ -60,7 +61,8 @@ module Interactive
|
|||
_interact_complete if (eof == true)
|
||||
|
||||
# Shutdown the readline thread
|
||||
user_input.readline_stop() if user_input.supports_readline
|
||||
# XXX disabled
|
||||
# user_input.readline_stop() if user_input.supports_readline
|
||||
|
||||
# Return whether or not EOF was reached
|
||||
return eof
|
||||
|
|
|
@ -25,7 +25,7 @@ class Input
|
|||
# Whether or not the input medium supports readline.
|
||||
#
|
||||
def supports_readline
|
||||
false
|
||||
true
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue