microsoft/Terminal

Curly quotes randomly become straight quotes

Open

#10 484 ouverte le 22 juin 2021

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-InputHelp WantedIssue-BugPriority-2Product-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

Description

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.

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

Guide contributeur