microsoft/Terminal
View on GitHubThe cursor jumps to the end of the line and immediately returns to the correct position when typing in a Git Bash profile
Open
#6,217 opened on May 27, 2020
Area-TerminalControlArea-WPFControlHelp WantedIssue-BugPriority-3Product-Terminal
Repository metrics
- Stars
- (35,764 stars)
- PR merge metrics
- (Avg merge 27d 19h) (24 merged PRs in 30d)
Description
Environment
Windows build number: Microsoft Windows [Version 10.0.18362.836]
Windows Terminal version (if applicable): 1.0.1401.0
Any other software?
- Git for Windows
Steps to reproduce
Open a Git Bash tab. My profile looks like this:
{
"guid": "{7f9476f7-58ca-491b-b101-43b38738ebcb}",
"name" : "Git Bash",
"tabTitle": "Git Bash",
"commandline" : "\"%ProgramFiles%\\Git\\usr\\bin\\bash.exe\" -i -l",
"hidden": false,
"startingDirectory" : "C:\\Git",
"closeOnExit" : true,
"colorScheme" : "Solarized Dark",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontSize" : 10,
"historySize" : 9001,
"icon" : "%ProgramFiles%\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"padding" : "8, 8, 8, 8",
"snapOnInput" : true,
"useAcrylic" : false
}
Type something like git commit -m "" and press left arrow to put your cursor into the quote marks.
Then type a commit message.
Expected behavior
After you type a character the cursor should be drawn directly after that character.
Actual behavior
The cursor jumps to the end of the line before returning to the correct position. Here is a gif of it happening:
The jumping happens with every typed character, but because of framerate reasons the gif only captured a jump after the second r in "cursor" and the m in "jumps".