feat: add scrollbar to prompt input and configurable max height#32
Open
feat: add scrollbar to prompt input and configurable max height#32
Conversation
Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
…ng (#16) Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
* feat(homebrew): add tap support for ocv * fix(ci): auto-sync homebrew tap on release --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
fix: strip prerelease suffix from plugin SDK version resolution Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
* chore: switch release version suffix from -vim to -ocv * fix: use upstream base version in release notes * chore: rename publish workflow from vim to ocv * chore: simplify ocv release automation --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
* feat: add Shift+R replace mode * fix: keep replace mode multiline and restore vim escape cursor * docs: update readme * test: add replace mode coverage --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
* feat: add vim copy mode with viewport cursor navigation and stabilize session scrolling * fix(vim): copy-mode horizontal motions and cursor coordinate alignment * fix(vim): copy-mode shift key handling * fix: set tool row padding offset to match content position * fix: skip user messages * fix: prevent motions from leaking into input * fix: replace lineInfo.lineStarts with plainText split for copy-mode line extraction * fix: account for line-number gutter offset in copy-mode cursor clamping * fix: dynamically compute line-number gutter width for copy-mode cursor * fix: clamp copy selection index when scrolling in session view * fix: snap copy selection to nearest visible row when scrolling out of view * feat: add visual modes * fix: use character-wise register for copy-mode yank to avoid blank line on paste * fix: copy-mode indicator styling and V line-visual mode * docs: document copy-mode * test: add copy mode coverage for visual selection, yank, jumps, and motions * docs: update readme for entry key config * fix: keep copy-mode side borders muted in reasoning and tool output * fix: make copy-mode w advance across lines like vim * docs: update readme * feat: skip reasoning output in copy mode * fix: 0 key start of line instead of first non-whitespace * feat: implement state management for sticky cursor for start/end of lines during vertical movement * test: copy-mode cursor state management * feat: add H/L/M cursor jumps * feat: add zz/zt/zb viewport scroll * fix: add missing copyWordPrev for b/B * fix: exit copy-mode on session switch * fix: hide prompt cursor in copy-mode to prevent flash on enter * fix: make copy-mode scrolling preserve cursor row while visible * feat: collapse diff views in copy mode * feat: scroll to bottom when exiting copy mode * fix: cursor offset for diff outputs * fix: copy mode cursor alignment for wrapped lines * docs: update readme * feat: prepend diff sign (+/-) for copied lines * test: wrapped vs non-wrapped lines for cursor state and motions --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
) * refactor: extract copy-mode state machine into dedicated module * refactor: deduplicate diff elements in Edit and ApplyPatch * refactor: remove as-any casts from part component spreads * fix: revert rows to plain function to fix copy-mode cursor --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
* feat: add cursor line highlight in copy mode * feat: hide cursor line highlight in visual mode --------- Co-authored-by: leohenon <77656081+lhenon999@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #26
Add scrollbar to prompt input and configurable
prompt_max_heightintui.json