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

Autocomplete Color Customization? #724

Closed
thewatts opened this issue Oct 7, 2023 · 4 comments
Closed

Autocomplete Color Customization? #724

thewatts opened this issue Oct 7, 2023 · 4 comments

Comments

@thewatts
Copy link

thewatts commented Oct 7, 2023

Description

Honestly, (and maybe this is just me) - but for whatever reason the color schemes I use and the autocomplete with IRB simply do not mix (note: I'm partially colorblind - so again, perhaps just me).

It's what has kept me going back to pry.

I've tried both Darkula, and Catppuccin (current)

Here's a screenshot:

image

*My question: Is there a way to customize the colors used by the autocomplete?


Result of irb_info

irb(main):001:0> irb_info
=>
Ruby version: 3.2.0
IRB version: irb 1.6.2 (2022-12-13)
InputMethod: RelineInputMethod with Reline 0.3.2
RUBY_PLATFORM: arm64-darwin22
LANG env: en_US.UTF-8
East Asian Ambiguous Width: 1

Terminal Emulator

iTerm, but also apparent in Terminal.app (MacOSX)

Setting Files

Not using any custom setting files


Many thanks!

@st0012
Copy link
Member

st0012 commented Oct 7, 2023

Hi @thewatts, thanks for raising this. We’re aware of the problem and have started a discussion on introducing related APIs for customization in Reline (the gem that powers autocomplete dialog): ruby/reline#552

@thewatts
Copy link
Author

thewatts commented Oct 9, 2023

Thanks for the quick response, @st0012!

I appreciate you!

@st0012
Copy link
Member

st0012 commented Nov 8, 2023

@thewatts The Reline PR I mentioned has been merged. Could you try Reline 0.4.0 with this guide?

@st0012
Copy link
Member

st0012 commented Jan 31, 2024

I'm closing this as the Reline feature has been pretty stable and there are even themes like https://github.com/vitallium/irb-theme-tokyonight

@st0012 st0012 closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants