Skip to content

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Oct 1, 2025

No description provided.

aymanbagabas and others added 30 commits September 9, 2024 14:12
This breaks the API and removes high performance rendering and its
related methods from the viewport package. It changes the API and
makes the methods return nothing instead of lines to render.
This removes all the `NewModel` functions from all the bubbles and any
deprecated fields and types.
(v2) refactor!: viewport: remove deprecated HighPerformanceRendering
(v2) refactor!: remove deprecated references
This also adds an Option type for arguments to New()
…rval()

This also adds an Option type for arguments to New()
andreynering and others added 29 commits May 16, 2025 14:24
chore: merge `master` with #601 into `v2-exp`
* Fix virtual cursor blinking
* Use getter and setter for styles
* Use getter and setter for virtual-real cursor management
This commit exposes the MoveToBegin and MoveToEnd methods in the
textarea package, allowing users to programmatically move the cursor
to the beginning or end of the input text.
* fix!(textarea): send focus status to promptFunc

* feat(filepicker): add highlighted file path

* chore: rename and add docs

* fix(filepicker): disabled cursor style

* feat(textarea): promptFunc receives a PromptInfo type with metadata

---------

Co-authored-by: Kujtim Hoxha <[email protected]>
* feat(textarea): get the word under the cursor

* fix: lint

* Update textarea/textarea_test.go

Co-authored-by: Copilot <[email protected]>

* test: fix

Signed-off-by: Carlos Alexandro Becker <[email protected]>

---------

Signed-off-by: Carlos Alexandro Becker <[email protected]>
Co-authored-by: Copilot <[email protected]>
This ensures that the viewport content is set and persisted correctly.
Setting the content during View won't doesn't work because it mutates a
copy of the model instead without persisting the changes. Moreover, any
after effects of setting the content won't be visible because the next
Update will be called on the older model, not the new one.
fix(textarea): ensure viewport content is set during update
Signed-off-by: Carlos Alexandro Becker <[email protected]>
@caarlos0 caarlos0 self-assigned this Oct 1, 2025
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.

6 participants