diff options
author | aycabta <aycabta@gmail.com> | 2019-07-04 19:34:08 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-07-04 19:34:08 +0900 |
commit | d9f8b88b47c141e7dcbc50eb10812acaeca2a325 (patch) | |
tree | 67e3ef18b7168a302a5fdcbef0790e8d67e191fc /lib/reline/config.rb | |
parent | 6fa7ed453e81ef3e74b2699db0533eb79e815dbb (diff) | |
download | ruby-d9f8b88b47c141e7dcbc50eb10812acaeca2a325.tar.gz |
Move a comment to proper place
Diffstat (limited to 'lib/reline/config.rb')
-rw-r--r-- | lib/reline/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/config.rb b/lib/reline/config.rb index 09e572561c..79eb15a1aa 100644 --- a/lib/reline/config.rb +++ b/lib/reline/config.rb @@ -5,6 +5,7 @@ class Reline::Config DEFAULT_PATH = '~/.inputrc' + # TODO: Control- and Meta- KEYSEQ_PATTERN = /\\C-[A-Za-z_]|\\M-[0-9A-Za-z_]|\\C-M-[A-Za-z_]|\\M-C-[A-Za-z_]|\\e|\\[\\\"\'abdfnrtv]|\\\d{1,3}|\\x\h{1,2}|./ class InvalidInputrc < RuntimeError @@ -278,7 +279,6 @@ class Reline::Config end def parse_keyseq(str) - # TODO: Control- and Meta- ret = [] str.scan(KEYSEQ_PATTERN) do ret << key_notation_to_code($&) |