microsoft/Terminal

Curly quotes randomly become straight quotes

Open

#10.484 aperta il 22 giu 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-InputHelp WantedIssue-BugPriority-2Product-Terminal

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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.

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

Guida contributor