Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorize command input #983

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Colorize command input #983

merged 1 commit into from
Aug 28, 2024

Conversation

tompng
Copy link
Member

@tompng tompng commented Jul 20, 2024

Command colorization for $, alias of show_source was not good.
This pull request improves it.

  • command name part: bold
  • command arg part: colorized as ruby code

before and after

command_color

Colorization for some command that uses extract_ruby_args mostly for backward compatibility gets worse, but we're going to reduce using extract_ruby_args like #962.
command_color_cons

lib/irb/input-method.rb Outdated Show resolved Hide resolved
@st0012 st0012 added the bug Something isn't working label Aug 27, 2024
@tompng tompng merged commit 0e64136 into ruby:master Aug 28, 2024
30 checks passed
@tompng tompng deleted the command_colorize branch August 28, 2024 16:16
matzbot pushed a commit to ruby/ruby that referenced this pull request Aug 28, 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
Development

Successfully merging this pull request may close these issues.

2 participants