Skip to content

Microsoft Pinyin IME are duplicating some inputs #3191

Closed
@ZxBing0066

Description

Details

  • Browser and browser version: chrome 80+
  • OS version: window 10
  • xterm.js version: 4.3.0 - latest

Steps to reproduce

  1. A demo here: https://codesandbox.io/s/crimson-frost-s11ts?file=/src/index.js:0-267
  2. Use Microsoft Pinyin number input, and then input numbers or symbols

A simple demo

import { Terminal } from 'xterm';
import 'xterm/css/xterm.css';

const term = new Terminal();

term.open(document.getElementById('terminal'));
term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ')

term.onData(data => {
  console.log(data);
  term.write(data);
});

same to #1527, but it's closed

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions