diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-09-03 03:24:43 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-09-03 03:27:58 +0900 |
commit | 1b8a644b440a104c91c723157aa6f6b3398a4ee9 (patch) | |
tree | 5712df5fa700d35cdcca76dd43e2d651144561fa /lib/reline/line_editor.rb | |
parent | 5044832fec85514b69c0fcb3524efd2e3e435087 (diff) |
[ruby/reline] Fix a typo [ci skip]
https://github.com/ruby/reline/commit/33bf80e757
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index ff48e44d51..3e0aac759a 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -656,7 +656,7 @@ class Reline::LineEditor private def padding_space_with_escape_sequences(str, width) padding_width = width - calculate_width(str, true) - # padding_width should be only positive value. But macOS and Aracritty returns negative value. + # padding_width should be only positive value. But macOS and Alacritty returns negative value. padding_width = 0 if padding_width < 0 str + (' ' * padding_width) end |