-
Notifications
You must be signed in to change notification settings - Fork 52
refactor(renderer): decouple events from buffer manipulation #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sudo-tee
wants to merge
21
commits into
main
Choose a base branch
from
refactor/renderer-components
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
efccfa2
refactor(renderer): add batched flush, append and scroll subsystems
sudo-tee ed72861
feat(renderer): incremental rendering, markdown-on-idle, and changed-…
sudo-tee 55d1241
fix: cursor scrolling
sudo-tee 4194128
fix(renderer/buffer): include first line when slicing extmarks
sudo-tee b5325d5
perf(renderer): suppress TextChanged during flushes, reduce deepcopy …
sudo-tee d5144fe
refactor(renderer): remove prev_line_count; extract scrolling logic a…
sudo-tee debf63b
feat(ui): refactor renderer and scrolling
sudo-tee cf438f9
Update lua/opencode/config.lua
sudo-tee 09ab292
revert: disable session.status subscription in loading animation (avo…
sudo-tee 22c4b84
refactor(ui/output): use sticky at-bottom viewport flag for auto-scroll
sudo-tee 7a9b428
refactor(ui/renderer/tests): remove trailing-border flags, filter int…
sudo-tee 9394bad
fix(events): ignore server heartbeat and avoid draining empty queue
sudo-tee 6a86b99
refactor(renderer/flush): suppress output-window autocmds and ensure …
sudo-tee 6639e32
refactor(ui/loading_animation): simplify session status handling
sudo-tee e80116e
fix(formatter/grep): normalize grep input handling
sudo-tee afc7c49
refactor(renderer): extract extmark_clear_range and avoid redundant c…
sudo-tee 0556f70
fix(ui): correct action & task line offsets
sudo-tee 30ea5db
fix(renderer/flush): guard 'eventignorewin' usage on older Neovim
sudo-tee 837a11d
refactor(ui): add type annotations and clarifying comments
sudo-tee 53d5864
test(renderer): make eventignorewin handling robust across Neovim ver…
sudo-tee 51922dd
feat(renderer): pin permission/question displays to bottom and add tests
sudo-tee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -142,4 +142,3 @@ function M.get_prefixes() | |
| end | ||
|
|
||
| return M | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.