dolthub / dolt

Dolt – Git for Data
Apache License 2.0
17.83k stars 505 forks source link

`ALT + TAB` breaks dolt shell in Windows CMD #7855

Open jycor opened 4 months ago

jycor commented 4 months ago

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:

zachmu commented 4 months ago

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

nicktobey commented 4 months ago

It happens for me on Powershell.

Hydrocharged commented 4 months ago

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

Hydrocharged commented 4 months ago

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.