mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #61] [MERGED] fix: update cursor position after layout change #260
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#260
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?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/61
Author: @KurtGokhan
Created: 8/24/2025
Status: ✅ Merged
Merged: 8/24/2025
Merged by: @kommander
Base:
main← Head:update-cursor-position-after-layout-change📝 Commits (2)
a6987c5fix: update cursor position when input layout changescd043d2prettier fixes📊 Changes
6 files changed (+25 additions, -16 deletions)
View changed files
📝
packages/core/src/console.ts(+5 -6)📝
packages/core/src/lib/KeyHandler.ts(+1 -1)📝
packages/core/src/renderables/Input.ts(+10 -0)📝
packages/core/src/renderer.ts(+3 -3)📝
packages/core/src/singleton.ts(+2 -2)📝
packages/solid/scripts/solid-plugin.ts(+4 -4)📄 Description
I noticed cursor position doesn't update after the position of the input element changes. This is noticable especially when resizing the terminal.
Before:
https://github.com/user-attachments/assets/067bc60f-451b-4722-84f7-9afe48013507
After:
https://github.com/user-attachments/assets/d1b82852-340f-482e-9c45-6eb128c29e09
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.