microsoft/Terminal

Curly quotes randomly become straight quotes

Open

#10.484 geöffnet am 22. Juni 2021

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-InputHelp WantedIssue-BugPriority-2Product-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

Windows Terminal version (or Windows build number)

Windows 10.0.19042.0, Windows Terminal 1.8.1521.0

Other Software

msys2, up to date as of 22 June 2021

Happens in at least bash, fish and vim, but apparently not cat or python. Also does not happen with msys2’s default console emulator.

The keyboard layout is bépo 1.0.3.40.

Steps to reproduce

In an msys2 session ("commandline": "C:/msys64/msys2_shell.cmd -defterm -here -no-start -msys") in Windows Terminal with the bépo layout, repeatedly press either of these combinations:

  • Shift+AltGr+«
  • Shift+AltGr+»
  • AltGr+,
  • Shift+AltGr+y
  • Shift+AltGr+x

Expected Behavior

A string of curly characters is inserted depending on the combination that was chosen:

  • ““““““““““““““““““““““““““““““
  • ””””””””””””””””””””””””””””””
  • ’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’
  • ‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘
  • ’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’

Actual Behavior

Some of the characters are randomly straight.

  • ""““"““"“““"““"““"““"“““"““""“
  • "””””””””"”””””””””"”"”"”"”””"
  • ’'’’’’’’'’'’’'’’''’’’'’’’'’’’’
  • ‘‘''‘‘‘‘‘'‘'‘‘'‘'‘''‘‘‘‘‘‘‘‘'‘
  • ’'’'’'’’''’’''’’’''’’'’’’’'’’'

Contributor Guide