Skip to content

gh-157210: Attach a combining mark in the last curses Textbox cell - #159651

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-157210-textbox-combining
Oct 22, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-157210-textbox-combining

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

A combining character typed into the lower-right cell of a Textbox, which is written with insch(), took a cell of its own and pushed its base character off the window edge. It is now merged into the character typed into that cell, or attached to the preceding character if the cursor was moved there, as addch() does elsewhere. Zero-width characters with a canonical combining class of 0 are included. A mark that does not fit in the cell is dropped.

In insert mode, a combining character no longer shifts the following text right.

Based on #157211.

🤖 Generated with Claude Code

A combining character typed into the lower-right cell of a Textbox no
longer takes a cell of its own, pushing its base character off the
window edge.  In insert mode it no longer shifts the following text.

Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka merged commit b7790f1 into python:main Oct 22, 2026
55 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the gh-157210-textbox-combining branch October 22, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant