You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20240429-102818-0184e88e
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
Copy pasting issues. Happens with both Ditto and Windows Clipboard, when trying to paste into WSL2 from the system, clipboard creates a blank entry instead, so I need to delete that entry and force the initial entry to paste the actual values, but it'll paste with CRLF instead of LF, so I forced LF for now, but the blank pasting is still a problem. Also tried to disable win32 input just to see, but same thing
To Reproduce
Normal copy paste to reproduce
Configuration
-- Pull in the wezterm APIlocalwezterm=require("wezterm")
-- This will hold the configuration.localconfig=wezterm.config_builder()
localgpus=wezterm.gui.enumerate_gpus()
localact=wezterm.action-- Themeconfig.color_scheme="lovelace"-- Window Sizeconfig.initial_rows=40config.initial_cols=160-- Cursorconfig.default_cursor_style="BlinkingBar"-- FPSconfig.animation_fps=120-- GPU Accelerationconfig.front_end="WebGpu"config.webgpu_preferred_adapter=gpus[1]
--Scrollbackconfig.scrollback_lines=5000config.debug_key_events=true-- Windowsifwezterm.target_triple=="x86_64-pc-windows-msvc" then-- Paste Actionconfig.keys= {
-- paste from the clipboard
{ key="V", mods="CTRL", action=act.PasteFrom("Clipboard") },
-- paste from the primary selection
{ key="V", mods="CTRL", action=act.PasteFrom("PrimarySelection") },
-- test
{ key="v", mods="CTRL", action=act.Nop },
}
config.canonicalize_pasted_newlines="LineFeed"config.allow_win32_input_mode=false-- GPUconfig.front_end="WebGpu"config.webgpu_preferred_adapter=gpus[1]
-- WSLconfig.default_domain="WSL:Ubuntu"config.default_cwd="/home/erfi"config.launch_menu= {
{
label="PowerShell",
domain= { DomainName="local" },
args= { "powershell.exe", "-NoLogo" },
},
}
end-- Keybind for launch_menuconfig.keys= {
{ key="l", mods="ALT", action=wezterm.action.ShowLauncher },
}
-- Fontsconfig.font=wezterm.font({ family="IosevkaTerm NF", weight="Regular" })
config.font_size=11.5config.line_height=1-- Window Close Promptconfig.window_close_confirmation="NeverPrompt"-- and finally, return the configuration to weztermreturnconfig
Expected Behavior
On MacOS and SteamDeck, the copy paste functionality is as intended, CTRL-C or CMD-C then CTRL-SHIFT-v/CMD-SHIFT-v just pastes the content
I digged a little more, and it seems to do with the usage of Tmux, however I have no clue as to why tmux would interfere, also it does interfere with wezterm settings like the cursor style, BlinkingBar for instance never persists once I got from terminal to editing things on nvim, then back out, it goes back to block. And this only seems reproducible for windows, Window Terminal has a different copy-paste shortcut, so it's just CTRL-V and that works with Tmux
set -as terminal-features ",xterm-256color:RGB"
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'catppuccin/tmux'
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Set mouse and term colors
set -g mouse on
set -g default-terminal "screen-256color"
set -g prefix ^a
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'clip.exe'
# Run TPM
run '~/.tmux/plugins/tpm/tpm'
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20240429-102818-0184e88e
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
Copy pasting issues. Happens with both Ditto and Windows Clipboard, when trying to paste into WSL2 from the system, clipboard creates a blank entry instead, so I need to delete that entry and force the initial entry to paste the actual values, but it'll paste with CRLF instead of LF, so I forced LF for now, but the blank pasting is still a problem. Also tried to disable win32 input just to see, but same thing
To Reproduce
Normal copy paste to reproduce
Configuration
Expected Behavior
On MacOS and SteamDeck, the copy paste functionality is as intended, CTRL-C or CMD-C then CTRL-SHIFT-v/CMD-SHIFT-v just pastes the content
Logs
Anything else?
I digged a little more, and it seems to do with the usage of Tmux, however I have no clue as to why tmux would interfere, also it does interfere with wezterm settings like the cursor style,
BlinkingBar
for instance never persists once I got from terminal to editing things on nvim, then back out, it goes back toblock
. And this only seems reproducible for windows, Window Terminal has a different copy-paste shortcut, so it's justCTRL-V
and that works with TmuxIf relevant, here are my dotfiles: https://github.com/erfianugrah/dotfiles
The text was updated successfully, but these errors were encountered: