MiniMax-AI / MiniMax-AI/minimax-code

[Bug]: xterm 环境下 使用中文输入 预输入拼音位置错误,偏移到输入框最右侧

Open
#236 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
Dominant language
TypeScript
Stars
1.3k
Forks
141
Avg merge
2h 45m
Merged PRs (30d)
46

Description

Product or interface

CLI - interactive TUI

Version

0.4.12

Platform

Windows

OS version and architecture

windows 11, 64x

Issue area

UI / UX

Desktop log upload ID (optional)

No response

Steps to reproduce
  • @xterm/xterm: ^6.0.0
  • @xterm/addon-fit: ^0.11.0
  • @xterm/addon-webgl: ^0.19.0
  • @xterm/addon-web-links: ^0.12.0
    -running mcode in xterm
Expected and actual behavior

拼音预输入位置不再发生偏移

Redacted error summary

Screenshots

No response

Before submitting
  • I have searched existing issues.
  • I have included my version and removed sensitive information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the CLI interactive TUI on Windows 11 with the listed @xterm packages and Chinese pinyin input. Trace how the terminal input position is calculated and verify that the pinyin pre-edit text remains aligned with the input field rather than shifting to its right edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.