Commit graph

7 commits

Author SHA1 Message Date
tomoya ishida
691d85d342 [ruby/reline] Rerender and enter raw mode again by SIGCONT
(https://github.com/ruby/reline/pull/727)

be45660c83
2024-06-25 00:55:07 +00:00
tomoya ishida
1d0d8a89d4 [ruby/reline] Add more fallbacks when terminfo is not available
(https://github.com/ruby/reline/pull/722)

Add xterm key bindings to comprehensive list
Add fallback escape sequence of cursor hide/show

e3c73bbe26
2024-06-10 15:31:33 +00:00
tomoya ishida
932ecd3a1c [ruby/reline] Ensure no escape sequence before printing prompt
(https://github.com/ruby/reline/pull/716)

f9227b5c89
2024-06-04 18:35:03 +00:00
Takashi Kokubun
5ea843f9b2 Revert "Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.""
This reverts commit 6e84ac2359.

Now that the rubygems spec change has been merged, let's try reverting
this and fixing it with tompng's new patch.
2024-06-04 11:33:12 -07:00
Takashi Kokubun
6e84ac2359 Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not."
This reverts commit ba01d15cf5.

It seems to be failing test-bundler-parallel. Reverting it to normalize
the CI. We should revert this revert once we figure it out.
2024-06-03 16:11:54 -07:00
tomoya ishida
ba01d15cf5 [ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.
(https://github.com/ruby/reline/pull/659)

Reline::ANSI has a partial non-tty supporting code. It should be a general io.
Reline::Dumb should be only used in testing.

2d6828473d
2024-06-03 14:28:33 +00:00
Stan Lo
cda69b5910 [ruby/reline] Overhaul io gate structure
(https://github.com/ruby/reline/pull/666)

* Overhaul IO gate structure

1. Move IO related classes to `lib/reline/io/` directory.
2. Rename `GeneralIO` to `Dumb`.
3. Use IO classes as instances instead of classes.

* Update lib/reline/io/ansi.rb

Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com>

---------

dc1518e1ac

Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com>
2024-06-01 10:28:08 +00:00
Renamed from lib/reline/ansi.rb (Browse further)