Repository navigation
Change Reline::ANSI to a general io - #659
Merged
Merged
Conversation
tompng
force-pushed
the
ansi_is_general_io
branch
2 times, most recently
from
April 3, 2024 17:22
d5d4994 to
bd69658
Compare
tompng
force-pushed
the
ansi_is_general_io
branch
3 times, most recently
from
April 8, 2024 05:36
baa398f to
cb72da1
Compare
tompng
force-pushed
the
ansi_is_general_io
branch
from
May 22, 2024 13:27
cb72da1 to
2779c89
Compare
Reline::ANSI has a partial non-tty supporting code. It should be a general io. Reline::Dumb should be only used in testing.
tompng
force-pushed
the
ansi_is_general_io
branch
from
June 1, 2024 13:23
2779c89 to
394fe5f
Compare
st0012
approved these changes
Jun 3, 2024
matzbot
pushed a commit
to ruby/ruby
that referenced
this pull request
Jun 3, 2024
(ruby/reline#659) Reline::ANSI has a partial non-tty supporting code. It should be a general io. Reline::Dumb should be only used in testing. ruby/reline@2d6828473d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #537, #616 and #690, the behavior will be more similar to Readline's behavior.
Reline::ANSIalready partially supports non-tty env, but not fully. This pull request changesReline::ANSIto a general io that supports both tty and non-tty environment.This pull request will change to always use Reline::ANSI.
Reline::Dumbis only used for testing when TERM=dumb is set.