butlerx / wetty

Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)
https://butlerx.github.io/wetty
MIT License
4.26k stars 670 forks source link

Neovim highlight color not appearing in blank spaces #466

Closed Normanras closed 4 months ago

Normanras commented 1 year ago

Is your feature request related to a problem? Please describe. Honestly, this might be more about how browsers and xterm render color than any specific feature request for this repo. What I'm doing for the time being is using Wetty to have a browser interface into a development environment on a VPS. I use neovim for this 90% of the time.

However, when I load neovim, my color scheme "loads" but won't show the basic colors where these is whitespace. As I start typing, the highlight/background color shows up normally. It shows the xterm background color where there is no text. I've attached some screenshots at the bottom.

Describe the solution you'd like I want my neovim color scheme to show up as the background color in the terminal.

Describe alternatives you've considered If I set my color scheme to one with a black background, it looks "normal" and clean. This is fine for the time being.

Additional context I'd love to learn more about how xterm renders the colors. Or what may be causing this. I've looked through all the settings and tried setting the "transparent background" boolean to checked, but that does nothing to change this appearance.

Screenshots:

  1. Wetty:

    Screenshot 2023-04-02 at 12 04 30 PM
  2. Terminal, ssh'd into the wetty vm, with the same neovim start screen:

    Screenshot 2023-04-02 at 12 07 59 PM
  3. Both side-by-side. Wetty on the left, iTerm2 on the right.

    Screenshot 2023-04-02 at 12 08 12 PM
github-actions[bot] commented 5 months ago

Stale issue message

refracta commented 2 months ago

image

The same symptoms occur in the terminal-based game I'm trying to run.