diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-13 02:11:37 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-13 02:11:37 +0000 |
commit | 087d1d27495b32b0af4acd4616354eab84b897d2 (patch) | |
tree | 27d38d5e46446fa45faccfe1baf9d561c055b8b7 | |
parent | 09ed8ca5320106181c81455f5596ba1cac41f2d1 (diff) |
* lib/irb/completion.rb: fixed broken completion list with
String including spaces. Contributed from @dunric. [fix GH-465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/irb/completion.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Aug 13 11:08:55 2014 SHIBATA Hiroshi <[email protected]> + + * lib/irb/completion.rb: fixed broken completion list with + String including spaces. Contributed from @dunric. [fix GH-465] + Wed Aug 13 00:07:01 2014 Masaki Suketa <[email protected]> * ext/win32ole/win32ole.c: separate WIN32OLE_PARAM src from win32ole.c diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 05b1ed4873..daaeb16b47 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -222,7 +222,7 @@ module IRB end if Readline.respond_to?("basic_word_break_characters=") - Readline.basic_word_break_characters= " \t\n`><=;|&{(" + Readline.basic_word_break_characters= "\t\n\\`><=;|&{(" end Readline.completion_append_character = nil Readline.completion_proc = IRB::InputCompletor::CompletionProc |