ruby-changes:73383
From: Nobuyoshi <ko1@a...>
Date: Sat, 3 Sep 2022 03:28:10 +0900 (JST)
Subject: [ruby-changes:73383] 1b8a644b44 (master): [ruby/reline] Fix a typo [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=1b8a644b44 From 1b8a644b440a104c91c723157aa6f6b3398a4ee9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 3 Sep 2022 03:24:43 +0900 Subject: [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 https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L656 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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/