Skip to content

Do not send color reset sequence when GeneralIO is used - #661

Merged
st0012 merged 1 commit into
ruby:masterfrom
tompng:general_io_no_color_reset
Mar 23, 2024
Merged

st0012 merged 1 commit into
ruby:masterfrom
tompng:general_io_no_color_reset

Conversation

@tompng

@tompng tompng commented Mar 23, 2024

Copy link
Copy Markdown
Member

Reline didn't send ansi color sequence before if TERM=dumb, but now it sends color reset sequence "\e[0m".

Fixing this, IRB does not need to remove `"\e[0m" from output in integration test.

@st0012
st0012 force-pushed the general_io_no_color_reset branch from 6d450df to 1c8e0e8 Compare March 23, 2024 22:51
@st0012
st0012 merged commit 3719702 into ruby:master Mar 23, 2024
@tompng
tompng deleted the general_io_no_color_reset branch March 24, 2024 09:06
@st0012 st0012 added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants