Skip to content

feat: add scrollbar to prompt input and configurable max height#32

Open
leohenon wants to merge 75 commits intovimfrom
feat/prompt-input-expand
Open

feat: add scrollbar to prompt input and configurable max height#32
leohenon wants to merge 75 commits intovimfrom
feat/prompt-input-expand

Conversation

@leohenon
Copy link
Copy Markdown
Owner

@leohenon leohenon commented Mar 26, 2026

closes #26

Add scrollbar to prompt input and configurable prompt_max_height in tui.json

scrollbar

leohenon added 30 commits March 26, 2026 06:25
leohenon and others added 29 commits March 26, 2026 06:25
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] : add scrollbar to prompt input and configurable row expansion via tui.json

1 participant