mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #566] bug: ctrl+w on a line with tabs deletes to a wrong char #155
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CruelAddict on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/566
Every 2+ col wide grapheme in a line makes ctrl + w / deleteWordBackward delete extra characters.
I've recorded a video where you can see me pressing ctrl + w against an indented string on the current master, vs on a branch where i fixed the issue
https://github.com/user-attachments/assets/27c326cc-02a3-4144-b2b3-6f911c6bc47b
The bug is caused by code looking for word boundaries not converting char offset to display column
@kommander commented on GitHub (Jan 24, 2026):
#567 should fix this.