After maximizing terminal after git log --oneline, terminal tab hangs upon trying to quit #18753

Closed
opened 2026-01-31 06:23:24 +00:00 by claunia · 4 comments
Owner

Originally created by @rzhao271 on GitHub (Oct 24, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22621.0

Other Software

git version 2.35.1.windows.2

Steps to reproduce

  1. Make sure the terminal isn't maximized.
  2. Run git log --oneline in a git repo.
  3. Maximize the terminal.
  4. Press the q key to quit from the pager.

Expected Behavior

I expect the prompt to show up again, so that I can input the next command.

Actual Behavior

The terminal tab doesn't seem to respond. It doesn't crash, though.

Originally created by @rzhao271 on GitHub (Oct 24, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22621.0 ### Other Software git version 2.35.1.windows.2 ### Steps to reproduce 1. Make sure the terminal isn't maximized. 2. Run `git log --oneline` in a git repo. 3. Maximize the terminal. 4. Press the `q` key to quit from the pager. ### Expected Behavior I expect the prompt to show up again, so that I can input the next command. ### Actual Behavior The terminal tab doesn't seem to respond. It doesn't crash, though.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:23:24 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Oct 26, 2022):

Thanks for the feedback! I'm gonna mark this as /dup #11903 unless proven otherwise

@carlos-zamora commented on GitHub (Oct 26, 2022): Thanks for the feedback! I'm gonna mark this as /dup #11903 unless proven otherwise
Author
Owner

@ghost commented on GitHub (Oct 26, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Oct 26, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@rzhao271 commented on GitHub (Oct 26, 2022):

Thanks for the issue ref. I took a look in the task manager and it seems that killing less.exe, which comes up as part of the git log command, brings back the prompt. But, I'm unable to repro the issue using Git Bash.
The CPU and memory usage seem normal as well. It's just that in step 4 above, I'm unable to quit from less after pressing q. Other keypresses don't work either after step 4, and I have to create a new tab to continue working.

Screenshot showing the process tree. There are some processes like Git for Windows, less, pwsh, OpenConsole, and Windows Terminal

@rzhao271 commented on GitHub (Oct 26, 2022): Thanks for the issue ref. I took a look in the task manager and it seems that killing `less.exe`, which comes up as part of the git log command, brings back the prompt. But, I'm unable to repro the issue using Git Bash. The CPU and memory usage seem normal as well. It's just that in step 4 above, I'm unable to quit from less after pressing q. Other keypresses don't work either after step 4, and I have to create a new tab to continue working. ![Screenshot showing the process tree. There are some processes like Git for Windows, less, pwsh, OpenConsole, and Windows Terminal](https://user-images.githubusercontent.com/7199958/198152064-a78fa11e-940c-4bfd-ada6-e25a3df9f9c0.png)
Author
Owner

@NikoAri commented on GitHub (Jun 30, 2023):

Confirmed that killing Less.exe process solves this problem.

@NikoAri commented on GitHub (Jun 30, 2023): Confirmed that killing `Less.exe` process solves this problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18753