sijanec · GitHub

Feature or enhancement

Proposal:

curses.textpad does not support UTF-8/Unicode characters, they are silently ignored when editing.

It would be useful to add support for Unicode characters.

Minimal reproducible code: Type š into the editing textbox and observe nothing happens.

import curses.textpad
import atexit
atexit.register(curses.endwin)
w = curses.initscr()
curses.noecho()
curses.textpad.Textbox(w).edit()

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Read the original on github.com ↗