Skip to content

patch: avoid to type directly on textfield#289

Draft
pythonbrad wants to merge 2 commits into
mainfrom
preedit
Draft

patch: avoid to type directly on textfield#289
pythonbrad wants to merge 2 commits into
mainfrom
preedit

Conversation

@pythonbrad

@pythonbrad pythonbrad commented Jul 4, 2026

Copy link
Copy Markdown
Member

Related issues

Changes

  • Implemented a logic similar to the preedit of FCITX.

Notes

It will require to use the grab feature of rdev, that requires the sudo access.
Since the afrim CLI is designed mainly for testing purpose, should us go in that direction?

Also, there is a afrim extension in development for the fcitx5 IME.

This commit implement a preedit feature similar to the one on fcitx in
order to suppress unexpected behavior when typing on different text
field environement (GTK, QT, ...).

The edit operations will happens on a safe zone before be committed on
the user text field.
@pythonbrad pythonbrad self-assigned this Jul 4, 2026
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