mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Move a comment to proper place
This commit is contained in:
parent
6fa7ed453e
commit
d9f8b88b47
1 changed files with 1 additions and 1 deletions
|
@ -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($&)
|
||||
|
|
Loading…
Reference in a new issue