Skip to content

[Windows] [Wezterm] Delay for Esc action #6006

Description

@driuba

Describe the bug

After v0.65.0 update there is a second or so delay between pressing escape key and exiting from whatever section was opened. If escape is pressed multiple times within this delay window, the action is ignored completely. This does not happen on previous versions (v0.64.1 tested during reporting).

To Reproduce

Steps to reproduce the behavior:

  1. Go to Local branches or Commits;
  2. Press enter on a branch or commit;
  3. Try to exit the view by pressing Esc;
  4. There's a delay before action happening;
    a. Pressing Esc multiple times doesn't exit the view a all.

Expected behavior

There should be no delay, besides reasonable input handling one. Pressing Esc multiple times should exit nested views.

Version info:

commit=c07f4d381b90419583b7ce04f87379654d983ebc, build date=2026-09-05T15:07:13Z, build source=binaryRelease, version=0.65.0, os=linux, arch=amd64, git version=2.55.0

Terminal info:

Windows 11 running WSL Ubuntu:

OS:

Edition	Windows 11 Pro
Version	24H2
Installed on	‎2026-‎02-‎17
OS build	26100.9168
Experience	Windows Feature Experience Pack 1000.26100.344.0

WSL:

PS > wsl --version
WSL version: 2.7.13.0
Kernel version: 6.18.33.2-2
WSLg version: 1.0.73.2
MSRDC version: 1.2.7214
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.9168

Ubuntu:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.5 LTS
Release:        24.04
Codename:       noble

Wezterm:

wezterm --version
wezterm 20260622-120102-6ff54928

Additional context

The problem seems only specific to Wezterm and v0.65.0 version combination. It doesn't happen on Windows terminal or previous lazygit versions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions