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

Slow when scrolling down a file while using nvim #6371

Open
gerep opened this issue Nov 7, 2024 · 0 comments
Open

Slow when scrolling down a file while using nvim #6371

gerep opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gerep
Copy link

gerep commented Nov 7, 2024

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

Linux X11

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

I'm using the PoPOS Gnome.

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?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

On the left side, I'm running GNOME Terminal. On the right, Wezterm.

The slowness is evident when I scroll down or up the file.

Screencast.from.11-07-2024.04.16.33.PM.webm

To Reproduce

No response

Configuration

This is all my config—the one I use in the video.

-- Pull in the wezterm API
local wezterm = require 'wezterm'

-- This table will hold the configuration.
local config = {}

if wezterm.config_builder then
  config = wezterm.config_builder()
end

config.audible_bell = 'Disabled'
config.color_scheme = 'Rosé Pine Moon (Gogh)'
config.font = wezterm.font("Hack Nerd Font Mono", {weight="Regular", stretch="Normal", style="Normal"})
config.font_size = 12

-- timeout_milliseconds defaults to 1000 and can be omitted
config.leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1000 }
config.keys = {
  {
    key = '%',
    mods = 'LEADER|SHIFT',
    action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
  },
  {
    key = '$',
    mods = 'LEADER|SHIFT',
    action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
  },
  -- Send "CTRL-A" to the terminal when pressing CTRL-A, CTRL-A
  {
    key = 'a',
    mods = 'LEADER|CTRL',
    action = wezterm.action.SendKey { key = 'a', mods = 'CTRL' },
  },
  {
    key = 'Z',
    mods = 'CTRL',
    action = wezterm.action.TogglePaneZoomState,
  },
}

return config

Expected Behavior

For the scrolling to be smooth as it is on Gnome Terminal.

Logs

16:25:37.255 INFO wezterm_gui > Spawned your command via the existing GUI instance. Use wezterm start --always-new-process if you do not want this behavior. Result=SpawnResponse { tab_id: 1, pane_id: 2, window_id: 1, size: TerminalSize { rows: 24, cols: 80, pixel_width: 640, pixel_height: 384, dpi: 0 } }

Anything else?

Debug Overlay
wezterm version: 20241104-083404-51c794ac x86_64-unknown-linux-gnu
Window Environment: X11 GNOME Shell
Lua Version: Lua 5.4
OpenGL: llvmpipe (LLVM 15.0.7, 256 bits) 4.5 (Compatibility Profile) Mesa 24.0.3-1pop1171163555922.04~7a9f319
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit
16:25:37.329 ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)

@gerep gerep added the bug Something isn't working label Nov 7, 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

1 participant