summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-03 03:24:43 +0900
committergit <svn-admin@ruby-lang.org>2022-09-03 03:27:58 +0900
commit1b8a644b440a104c91c723157aa6f6b3398a4ee9 (patch)
tree5712df5fa700d35cdcca76dd43e2d651144561fa /lib
parent5044832fec85514b69c0fcb3524efd2e3e435087 (diff)
[ruby/reline] Fix a typo [ci skip]
https://github.com/ruby/reline/commit/33bf80e757
Diffstat (limited to 'lib')
-rw-r--r--lib/reline/line_editor.rb2
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