mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
CSI allows empty digit which equals 0
This commit is contained in:
parent
0aa9b003de
commit
4c277364a5
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Reline::LineEditor
|
|||
CompletionJourneyData = Struct.new('CompletionJourneyData', :preposing, :postposing, :list, :pointer)
|
||||
MenuInfo = Struct.new('MenuInfo', :target, :list)
|
||||
|
||||
CSI_REGEXP = /\e\[(?:\d+;?)*[ABCDEFGHJKSTfminsuhl]/
|
||||
CSI_REGEXP = /\e\[[\d;]*[ABCDEFGHJKSTfminsuhl]/
|
||||
NON_PRINTING_ESCAPES = "\1\2"
|
||||
|
||||
def initialize(config)
|
||||
|
|
Loading…
Add table
Reference in a new issue