microsoft/Terminal

Curly quotes randomly become straight quotes

Open

#10,484 创建于 2021年6月22日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)C++ (3,212 fork)batch import
Area-InputHelp WantedIssue-BugPriority-2Product-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

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.

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

贡献者指南