Windows terminal randomly freezes with Neovim 0.6 in debian Bullseye when using MCTRL>-<SHIFT>C or <CTRL-SHIFT>V #16129

Open
opened 2026-01-31 04:58:20 +00:00 by claunia · 0 comments
Owner

Originally created by @nicenemo on GitHub (Dec 15, 2021).

Windows Terminal version

1.11.2921.0

Windows build number

10.0.22000.348

Other Software

  1. Install Debian Bullseye from the store using my powershell scripts:
    https://github.com/nicenemo/wsl-debian-boxes
  2. Install NeoVM 0.6 from source https://github.com/neovim/neovim.
  3. Install lunarvim https://www.lunarvim.org/#opinionated
  4. Use SauceCode PRO NF font
  5. Use GruvBox Material Medium dark color scheme
  6. Software installed with Ansible using my playbook
    https://github.com/nicenemo/win-dev-playbook
    Only The Debian stuff. Calling chocolatey is not working perfect yet and therefore commented out.
  7. Install OhMyPosh in Bash and ZSH
  8. I have systemd enabled with Distrod after installing my own updated Debian. https://github.com/nullpo-head/wsl-distrod
    Then I have a bash shell. However the same also happens without having distrod enabling systemd.
  9. Memory in WSL is 24Gb and swap of 24Gb.
    10 System Thinkpad T480 with 32Gb of memory.
    (But also have this on a HP Prodesk 400 G4.) And can test it on a T450s with Windows 10.
  10. all updates installed.

fragments of my config

[...]
"font": 
                {
                    "face": "SauceCodePro NF"
                },
[...]

Use color scheme:

[...]
 "colorScheme": "GruvboxMaterialMediumDark",
[...]
 {
            "background": "#282828",
            "black": "#665C54",
            "blue": "#7DAEA3",
            "brightBlack": "#928374",
            "brightBlue": "#7DAEA3",
            "brightCyan": "#89B482",
            "brightGreen": "#A9B665",
            "brightPurple": "#D3869B",
            "brightRed": "#EA6962",
            "brightWhite": "#D4BE98",
            "brightYellow": "#D8A657",
            "cursorColor": "#FFFFFF",
            "cyan": "#89B482",
            "foreground": "#D4BE98",
            "green": "#A9B665",
            "name": "GruvboxMaterialMediumDark",
            "purple": "#D3869B",
            "red": "#EA6962",
            "selectionBackground": "#FFFFFF",
            "white": "#D4BE98",
            "yellow": "#D8A657"
        },

Linux config:

[...]
 {
                "closeOnExit": "always",
                "colorScheme": "GruvboxMaterialMediumDark",
                "font": 
                {
                    "face": "SauceCodePro NF"
                },
                "guid": "{c31b85d2-61c0-5be6-9284-2ac955dcc417}",
                "hidden": false,
                "name": "nemolinux",
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": "\\\\wsl.localhost\\nemolinux\\home\\kruse"
            },
[...]

Steps to reproduce

  1. Edit in neovim with lunarvim: Mardown, JSON, Ruby, Java, logstash config, does not really matter.
  2. Then copy something from Chrome on Windows, e.g. stackoverflow or from notepad or email.
  3. try to paste with 'CTRL+SHIFT+V'
  4. Sometimes the terminal freezes, sometimes not.
  5. Outside neovim try to copy something in the terminal with 'CTRL+SHIFT+C'
  6. Sometimes the terminal freezes, sometimes not.
  7. I have to kill the terminal in the task manager. It is no using High CPU nor is anything else.
  8. Resizing the terminal or switching tabs if I have multiple terminal tabs is not possible either.
  9. Also maximize or minimize does not work.

Happens in Windows 10 as well as Windows 11. With Release and preview version.

Expected Behavior

Copy and Paste just works in a Debian terminal.

Actual Behavior

Terminal freezes sometimes when trying to copy or paste with Control Shift-C or Control-Shift V.
I experience it more often in NeoVIM with LunarVIM. Also had this in Windows 10 in the past.

Originally created by @nicenemo on GitHub (Dec 15, 2021). ### Windows Terminal version 1.11.2921.0 ### Windows build number 10.0.22000.348 ### Other Software 1. Install Debian Bullseye from the store using my powershell scripts: https://github.com/nicenemo/wsl-debian-boxes 2. Install NeoVM 0.6 from source https://github.com/neovim/neovim. 3. Install lunarvim https://www.lunarvim.org/#opinionated 4. Use `SauceCode PRO NF` font 5. Use GruvBox Material Medium dark color scheme 6. Software installed with Ansible using my playbook https://github.com/nicenemo/win-dev-playbook Only The Debian stuff. Calling chocolatey is not working perfect yet and therefore commented out. 7. Install OhMyPosh in Bash and ZSH 8. I have systemd enabled with Distrod after installing my own updated Debian. https://github.com/nullpo-head/wsl-distrod Then I have a bash shell. However the same also happens without having distrod enabling systemd. 9. Memory in WSL is 24Gb and swap of 24Gb. 10 System Thinkpad T480 with 32Gb of memory. (But also have this on a HP Prodesk 400 G4.) And can test it on a T450s with Windows 10. 11. all updates installed. ## fragments of my config ``` [...] "font": { "face": "SauceCodePro NF" }, [...] ``` Use color scheme: ``` [...] "colorScheme": "GruvboxMaterialMediumDark", [...] { "background": "#282828", "black": "#665C54", "blue": "#7DAEA3", "brightBlack": "#928374", "brightBlue": "#7DAEA3", "brightCyan": "#89B482", "brightGreen": "#A9B665", "brightPurple": "#D3869B", "brightRed": "#EA6962", "brightWhite": "#D4BE98", "brightYellow": "#D8A657", "cursorColor": "#FFFFFF", "cyan": "#89B482", "foreground": "#D4BE98", "green": "#A9B665", "name": "GruvboxMaterialMediumDark", "purple": "#D3869B", "red": "#EA6962", "selectionBackground": "#FFFFFF", "white": "#D4BE98", "yellow": "#D8A657" }, ``` Linux config: ``` [...] { "closeOnExit": "always", "colorScheme": "GruvboxMaterialMediumDark", "font": { "face": "SauceCodePro NF" }, "guid": "{c31b85d2-61c0-5be6-9284-2ac955dcc417}", "hidden": false, "name": "nemolinux", "source": "Windows.Terminal.Wsl", "startingDirectory": "\\\\wsl.localhost\\nemolinux\\home\\kruse" }, [...] ``` ### Steps to reproduce 1. Edit in neovim with lunarvim: Mardown, JSON, Ruby, Java, logstash config, does not really matter. 2. Then copy something from Chrome on Windows, e.g. stackoverflow or from notepad or email. 3. try to paste with '<kbd>CTRL+SHIFT+V</kbd>' 5. Sometimes the terminal freezes, sometimes not. 6. Outside neovim try to copy something in the terminal with '<kbd>CTRL+SHIFT+C</kbd>' 7. Sometimes the terminal freezes, sometimes not. 8. I have to kill the terminal in the task manager. It is no using High CPU nor is anything else. 9. Resizing the terminal or switching tabs if I have multiple terminal tabs is not possible either. 10. Also maximize or minimize does not work. Happens in Windows 10 as well as Windows 11. With Release and preview version. ### Expected Behavior Copy and Paste just works in a Debian terminal. ### Actual Behavior Terminal freezes sometimes when trying to copy or paste with Control Shift-C or Control-Shift V. I experience it more often in NeoVIM with LunarVIM. Also had this in Windows 10 in the past.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16129