mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #742] [MERGED] feat(DiffRenderable): synchronize scroll between split view panes in diff.ts #1527
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#1527
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/742
Author: @viralcodex
Created: 2/25/2026
Status: ✅ Merged
Merged: 3/9/2026
Merged by: @kommander
Base:
main← Head:sync-scroll-diff📝 Commits (9)
3d8df00feat(DiffRenderable): synchronize scroll between split view panes in diff.ts2ed5649fix(DiffRenderable): update container reference for side detection in isInsideSide methodfd23733fix(DiffRenderable): remove unnecessary blank line in split view scroll test386c622Merge branch 'main' into sync-scroll-diff608e200feat(DiffRenderable): add syncScroll option for split view synchronization11e4c43Merge branch 'sync-scroll-diff' of https://github.com/viralcodex/opentui into sync-scroll-diff7ad7f34Merge branch 'main' into sync-scroll-diffa2bc3eaMerge branch 'main' into sync-scroll-diffb6ab5adMerge branch 'main' into sync-scroll-diff📊 Changes
2 files changed (+123 additions, -1 deletions)
View changed files
📝
packages/core/src/renderables/Diff.test.ts(+82 -1)📝
packages/core/src/renderables/Diff.ts(+41 -0)📄 Description
Fixes: #563
Hi @kommander and @simonklee,
Added this synced scroll in code diff as mentioned in this issue...
I was thinking to keep both separate and synced scroll which can be toggled through hotkeys depending on user preferences.
Whatever you guys say 😄
https://github.com/user-attachments/assets/bdc27805-d5e4-4f1c-b1f4-d31b94da4601
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.