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

blinking when using xterm -cm #17

Open
rjpcasalino opened this issue Mar 22, 2024 · 4 comments
Open

blinking when using xterm -cm #17

rjpcasalino opened this issue Mar 22, 2024 · 4 comments

Comments

@rjpcasalino
Copy link

when I enter xterm -cm and get a terminal without color (from what I understand of what the -cm flags are doing) I see blinking during tab completion. I wonder why? Sorry my video is a bit zoomed strangely but will show you what I see. Cool tool and many thanks. My terminal colors are strange anyway so this isn't a big deal but wanted to report it and see if there is an easy fix.

simplescreenrecorder-2024-03-21_20.34.27.mp4
@ynqa
Copy link
Owner

ynqa commented Mar 23, 2024

@rjpcasalino I'm not very familiar with xterm, so please enlighten me.

  • Does -cm option refer to what's commonly known as the no-color option?
  • Did you use -cm option because the default color of jnv is hard to see on your terminal?
  • If -cm option is not used, does it display correctly?

@rjpcasalino
Copy link
Author

rjpcasalino commented Mar 24, 2024

* Does `-cm` option refer to what's commonly known as the no-color option?

-cm disables recognition of ANSI color-change escape sequences.

* Did you use `-cm` option because the default color of `jnv` is hard to see on your terminal?

Yes, it would be handy to have a no color option.

* If `-cm` option is not used, does it display correctly?

Yep!

@ynqa
Copy link
Owner

ynqa commented Mar 24, 2024

@rjpcasalino Honestly, the flickering phenomenon could be occurring at xterm or crossterm layer, and I'm not sure if it can be fixed.

On the other hands, if the issue is that the current colors are hard to see, I am planning to create a mechanism in #23 that allows users to set their own color themes. Could this mechanism be used to circumvent the problem?

@rjpcasalino
Copy link
Author

rjpcasalino commented Mar 24, 2024

@ynqa yes, having a mechanism to set custom themes would be great. I think a nice default option to consider is allowing no colors. Where in the code do colors get set now?-for one curious enough to go peek? Many thanks for this and taking the time to address this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants