Fixes #240. Resets tab completion after irb
git-svn-id: file:///home/svn/framework3/trunk@5653 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0f25d98fb2
commit
9b34f931d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue