diff options
Diffstat (limited to 'lib/reline')
-rw-r--r-- | lib/reline/unicode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/unicode.rb b/lib/reline/unicode.rb index a0fe0741f4..80cc54a05e 100644 --- a/lib/reline/unicode.rb +++ b/lib/reline/unicode.rb @@ -185,7 +185,7 @@ class Reline::Unicode [lines, height] end - # Take a chunk of a String with escape sequences. + # Take a chunk of a String cut by width with escape sequences. def self.take_range(str, start_col, max_width, encoding = str.encoding) chunk = String.new(encoding: encoding) total_width = 0 |