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

Wezterm Terminal Highlight Glitch #6079

Closed
Turmaxx opened this issue Sep 2, 2024 · 2 comments
Closed

Wezterm Terminal Highlight Glitch #6079

Turmaxx opened this issue Sep 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Turmaxx
Copy link

Turmaxx commented Sep 2, 2024

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

KWin

WezTerm version

20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

I am on nixos and have been using wezterm for the past year.
I recently rebuild my system and i came across this issue.
Here is the screenshot below:
image
As you can see everything is highlighted by default and I can't clearly see the command that I am typing in.

To Reproduce

After specifying wezterm as a package to be installed in your configuration use the command nix flake update && sudo nixos-rebuild switch --flake .

Configuration

-- Generated by Home Manager.
-- See https://wezfurlong.org/wezterm/

local wezterm = require 'wezterm';

return {
  color_scheme = "tokyonight",
  font = wezterm.font("JetBrainsMono Nerd Font", { weight = "Regular" }),
  font_size = 12,
  window_decorations = "NONE",
  window_background_opacity = 0.85,
  hide_tab_bar_if_only_one_tab = true,
  tab_bar_at_bottom = true,
  audible_bell = "Disabled",
  cursor_blink_rate = 0,
  text_blink_rate = 0,
  keys = {
    { key="f", mods="CTRL|SHIFT", action="ToggleFullScreen" },
  },
  window_padding = {
    top = 0, bottom = 0,
    left = 0, right = 0,
  },
}

Expected Behavior

Show clear terminal without highlights

Logs

Debug Overlay
wezterm version: 20240203-110809-5046fc22 x86_64-unknown-linux-gnu
Window Environment: Wayland
Lua Version: Lua 5.4
OpenGL: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.57, 6.10.6) 4.6 (Compatibility Profile) Mesa 24.1.5
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit
15:50:25.169 ERROR window::os::wayland::pointer > set_cursor: Unable to set cursor to xterm: cursor not found, Unable to set cursor to 'default': cursor not found

Anything else?

Here is another image of what the terminal looks like when being used:
image

@Turmaxx Turmaxx added the bug Something isn't working label Sep 2, 2024
@347Online
Copy link

347Online commented Sep 2, 2024

I've been experiencing this issue myself, great to know it's not just me

I am experiencing this both on my personal machine running NixOS on an Apple Silicon M1 Pro, as well as my work machine running MacOS on an Apple Silicon M2 Max.

@Turmaxx I think we can trace this to having something to do with the version that is packaged in nixpkgs, as on the work machine while I experienced the issue installing via Nix, I was able to install the exact same version (according to wezterm --version) via Homebrew, and I did not experience the issue

EDIT: Looks like this may be a duplicate, as eventually I stumbled upon this: #5990
Have you tried the workaround setting front_end = "WebGpu" ?

@Turmaxx
Copy link
Author

Turmaxx commented Sep 6, 2024

I have tried front_end = "WebGpu". It worked. I'll check out the issue you linked to see if this is a temporary solution of a permanent one and more about this issue.

Thanks @347Online.

@Turmaxx Turmaxx closed this as completed Sep 6, 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
Projects
None yet
Development

No branches or pull requests

2 participants