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

[BUG] Text in vi is very hard to see #84

Open
jiasli opened this issue Mar 18, 2021 · 3 comments
Open

[BUG] Text in vi is very hard to see #84

jiasli opened this issue Mar 18, 2021 · 3 comments
Assignees
Labels
Area-UX Changes or improvements to the UX bug Something isn't working Triage-needed Triage needed by Cloud Shell team

Comments

@jiasli
Copy link
Member

jiasli commented Mar 18, 2021

To Reproduce

vi .bashrc

Observed Behavior

Text in vi is very hard to see. The color has very low contrast ratio compared to the background.

image

image

Expected behavior

Text in vi should have enough contrast ratio compared to the background.

Is this specific to Cloud Shell?

Yes.

Interface information

In https://portal.azure.com with Courier New font.

Additional context

This issue is originally reported at Azure/azure-cli#17325. Workarounds are provided at Azure/azure-cli#17325 (comment).

@jiasli jiasli added the bug Something isn't working label Mar 18, 2021
@jiasli
Copy link
Member Author

jiasli commented Mar 18, 2021

Some possible solutions:

  1. Default the font to Monospace to get bolder font.
  2. Make the RGB definition of dark colors lighter. See https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#text-formatting
  3. Allow the user to customize RGB of colors, like the old Windows Console
    image
    and new Windows Terminal
    image

@edyoung
Copy link
Contributor

edyoung commented Mar 18, 2021

That's a bit odd. My Vi text looks quite different.

image

Do you by any chance have a vi color scheme enabled or something like that?

@jiasli
Copy link
Member Author

jiasli commented Mar 18, 2021

No, because you are already using Monospace. Try Courier New.

@dsajanice dsajanice added Triage-needed Triage needed by Cloud Shell team Area-UX Changes or improvements to the UX labels Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-UX Changes or improvements to the UX bug Something isn't working Triage-needed Triage needed by Cloud Shell team
Projects
None yet
Development

No branches or pull requests

4 participants