dolt icon indicating copy to clipboard operation
dolt copied to clipboard

`ALT + TAB` breaks dolt shell in Windows CMD

Open jycor opened this issue 1 year ago • 4 comments

Steps to repro:

  1. Launch Windows CMD
  2. dolt sql
  3. type some stuff
  4. ALT + TAB away
  5. ALT + TAB back
  6. Terminal now behaves as if ALT key is being held down i. pressing f and b will move cursor forward and backward one word ii. d deletes word ahead of cursor iii. BACKSPACE deletes word behind cursor iv. etc

This also happens with Git CMD on Windows and Git BASH through Terminal App

Forunately, pressing ALT again restores normal dolt sql shell behavior

related:

  • https://github.com/dolthub/dolt/issues/3185
  • https://github.com/dolthub/dolt/issues/4838

jycor avatar May 13 '24 21:05 jycor

Doesn't happen for me, either with vanilla cmd or the windows terminal

zachmu avatar May 14 '24 16:05 zachmu

It happens for me on Powershell.

nicktobey avatar May 14 '24 16:05 nicktobey

This happens for me for both the Command Prompt and PowerShell. Windows 10.

Hydrocharged avatar May 15 '24 03:05 Hydrocharged

I've also got a delay on input in the Command Prompt. Type too fast and it will take a bit for it to catch up. This has always been a thing, but it's possible that it's related.

Hydrocharged avatar May 15 '24 03:05 Hydrocharged