Remove set term=cygwin in init.bat (#2688)

This commit is contained in:
Dax T Games 2022-04-16 10:01:17 -04:00 committed by GitHub
parent fc00cc8be2
commit e345f187d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,11 @@
## [Unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17) ## [Unreleased](https://ci.appveyor.com/project/MartiUK/cmder/build/artifacts) (2022-03-17)
### Fixes
- Remove setting `term=cygwin` in `init.bat` to fix random `ABCD` characters when using arrow keys in `vim`.
- See: [Sometimes pressing on arrow keys prints symbols #1691](https://github.com/Maximus5/ConEmu/issues/169)
### Changes ### Changes
- Fix Git prompt branch when using Git worktree. - Fix Git prompt branch when using Git worktree.

1
vendor/init.bat vendored
View File

@ -211,7 +211,6 @@ if "%CMDER_CONFIGURED%" GTR "1" (
:: I do not even know, copypasted from their .bat :: I do not even know, copypasted from their .bat
set PLINK_PROTOCOL=ssh set PLINK_PROTOCOL=ssh
if not defined TERM set TERM=cygwin
:: The idea: :: The idea:
:: * if the users points as to a specific git, use that :: * if the users points as to a specific git, use that