diff options
author | tomoya ishida <tomoyapenguin@gmail.com> | 2024-03-24 08:00:18 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-03-23 23:00:21 +0000 |
commit | 3adaba0e81c1df4827dce86c19643b48d288a56b (patch) | |
tree | 2b38b878f9a6832b9c7c1cf90ac34256a94482e7 /lib/reline/ansi.rb | |
parent | f46b77596d9b88e603765c0980667a86c62e2b04 (diff) |
[ruby/reline] Do not send color reset sequence when GeneralIO is
used
(https://github.com/ruby/reline/pull/661)
https://github.com/ruby/reline/commit/3719702808
Diffstat (limited to 'lib/reline/ansi.rb')
-rw-r--r-- | lib/reline/ansi.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index c2e5075ea8..2d7c759ea2 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -3,6 +3,8 @@ require 'io/wait' require_relative 'terminfo' class Reline::ANSI + RESET_COLOR = "\e[0m" + CAPNAME_KEY_BINDINGS = { 'khome' => :ed_move_to_beg, 'kend' => :ed_move_to_end, |