From d9f8b88b47c141e7dcbc50eb10812acaeca2a325 Mon Sep 17 00:00:00 2001 From: aycabta Date: Thu, 4 Jul 2019 19:34:08 +0900 Subject: [PATCH] Move a comment to proper place --- lib/reline/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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($&)