From 1b8a644b440a104c91c723157aa6f6b3398a4ee9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 3 Sep 2022 03:24:43 +0900 Subject: [PATCH] [ruby/reline] Fix a typo [ci skip] https://github.com/ruby/reline/commit/33bf80e757 --- lib/reline/line_editor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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