Skip to content

Text misaligned when using Japanese input/IME on Windows with Windows Terminal #5457

@ajantti

Description

@ajantti

When using IME, the typed text appears misaligned after the whole Input widget:

wt

Sister issue to #5456, although clearly a different problem, in Windows Terminal this time. Looks a lot like what #3408 was trying to fix with the cursor position modification.

Textual Diagnostics

Versions

Name Value
Textual 1.0.0
Rich 13.9.4

Python

Name Value
Version 3.10.11
Implementation CPython
Compiler MSC v.1929 64 bit (AMD64)
Executable C:\work\mkgtools\Tool\MKGConfluenceTool\venv\Scripts\python.exe

Operating System

Name Value
System Windows
Release 10
Version 10.0.19045

Terminal

Name Value
Terminal Application Windows Terminal
TERM xterm
COLORTERM Not set
FORCE_COLOR Not set
NO_COLOR Not set

Rich Console options

Name Value
size width=133, height=63
legacy_windows False
min_width 1
max_width 133
is_terminal True
encoding utf-8
max_height 63
justify None
overflow None
no_wrap False
highlight None
markup None
height None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions