Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop asking if I want to reset the terminal #4323

Closed
1 task done
grosch-intl opened this issue Mar 2, 2023 · 2 comments
Closed
1 task done

Stop asking if I want to reset the terminal #4323

grosch-intl opened this issue Mar 2, 2023 · 2 comments

Comments

@grosch-intl
Copy link

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.39.1.windows.1
cpu: x86_64
built from commit: b03dafd9c26b06c92d509a07ab01b01e6d0d85ee
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.19044.2604]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
$ cat /etc/install-options.txt

Editor Option: VIM
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Nope.

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

Bash

Alt-F8
  • What did you expect to occur after running these commands?

The terminal should clear, as it did until recently.

  • What actually happened instead?

A dialog is appearing asking if I want to clear the terminal. Please provide a setting to disable this popup.

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

Don't know which version changed this.

@rimrul
Copy link
Member

rimrul commented Mar 2, 2023

Don't know which version changed this.

This change was introduced as part of MinTTY 3.6.2, which was first included wit Git for Windows 2.39.0.

Add the following line to your ~/.minttyrc file to restore the previous Alt+F8 hotkey behavior (reset the terminal with no confirmation dialog):

KeyFunctions=A+F8:reset-noask

See mintty/mintty#1173 for details.

@grosch-intl
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants