Open dramborleg opened 1 year ago
I confirm that ScrollToPrompt does not work in mux domains, but it works in a local
domain.
unix
domain
wezterm --config-file ./wezterm.lua connect unix
local
domain
wezterm --config-file ./wezterm.lua start zsh -l
The ./wezterm.lua
file:
local wezterm = require("wezterm")
local act = wezterm.action
local config = wezterm.config_builder()
config.keys = {
-- Scroll to Prompt, currently not working, must be a bug in wezterm.
{ key = 'UpArrow', mods = 'SHIFT', action = act.ScrollToPrompt(-1) },
{ key = 'DownArrow', mods = 'SHIFT', action = act.ScrollToPrompt(1) },
}
return config
20230408-112425-69ae8472
Likely the same or similar underlying cause as:
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
Gnome 3.36.8 (on Ubuntu 20.04)
WezTerm version
20221220-083007-eb8dfd32
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
Using ScrollToPrompt with OSC133 codes does not seem to work in unix domains, and sometimes doesn't work in local domains. There are two unexpected behaviors but it might be the same bug so I will include both scenarios, exact reproduction steps are below.
To Reproduce
wezterm connect test_domain
. In this mode I cannot get ScrollToPrompt working under any condition.Configuration
wezterm.lua
.zshrc
The above wezterm.sh is unmodified version of https://github.com/wez/wezterm/blob/main/assets/shell-integration/wezterm.sh
Expected Behavior
No response
Logs
No response
Anything else?
No response