Fixes #240. Resets tab completion after irb

git-svn-id: file:///home/svn/framework3/trunk@5653 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-09-05 22:10:18 +00:00
parent 0f25d98fb2
commit 9b34f931d2
1 changed files with 5 additions and 0 deletions

View File

@ -237,6 +237,11 @@ class Core
rescue rescue
print_error("Error during IRB: #{$!}\n\n#{$@.join("\n")}") print_error("Error during IRB: #{$!}\n\n#{$@.join("\n")}")
end end
# Reset tab completion
if (driver.input.supports_readline)
driver.input.reset_tab_completion
end
end end
alias cmd_? cmd_help alias cmd_? cmd_help