Bug fix for previous workaround

git-svn-id: file:///home/svn/framework3/trunk@3799 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-08-01 01:50:26 +00:00
parent 4ef104e869
commit cac9561b61
2 changed files with 6 additions and 4 deletions

View File

@ -25,8 +25,9 @@ module Interactive
eof = false eof = false
# Start the readline stdin monitor # 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 notifications
handle_suspend handle_suspend
@ -60,7 +61,8 @@ module Interactive
_interact_complete if (eof == true) _interact_complete if (eof == true)
# Shutdown the readline thread # 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 whether or not EOF was reached
return eof return eof

View File

@ -25,7 +25,7 @@ class Input
# Whether or not the input medium supports readline. # Whether or not the input medium supports readline.
# #
def supports_readline def supports_readline
false true
end end
# #