Skip to content
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

(v2) merge textarea API updates into v2-area #722

Merged
merged 24 commits into from
Feb 1, 2025

Conversation

meowgorithm
Copy link
Member

This brings textarea API updates (and other stuff on v2-exp) into v2-area.

caarlos0 and others added 24 commits January 17, 2025 12:32
* docs: additional bubbles

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

* Update README.md

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

* Update README.md

Co-authored-by: Christian Rocha <[email protected]>

* Update README.md

Co-authored-by: Christian Rocha <[email protected]>

---------

Signed-off-by: Carlos Alexandro Becker <[email protected]>
Co-authored-by: bashbunni <[email protected]>
Co-authored-by: Christian Rocha <[email protected]>
* docs: update charm & friends blurb

* docs: simplify messaging, link to instructions
If the viewport has borders, they are not currently taken into account
when calculating the viewport max y offset, which might cause the last
line to not be visible.

This is easily reproducible in `gum pager`.

Signed-off-by: Carlos Alexandro Becker <[email protected]>
Signed-off-by: Bence Vidosits <[email protected]>
Co-authored-by: Bence Vidosits <[email protected]>
* feat(textarea): add CursorPosition method

This returns the current cursor position accounting any soft-wrapped
lines and multi-rune characters.

* chore(textarea): redefine how real cursor properties are accessed (#714)

---------

Co-authored-by: Christian Rocha <[email protected]>
Co-authored-by: Ayman Bagabas <[email protected]>
Set.CursorColumn sets the cursor column position. This change was made
for clarity.
@meowgorithm
Copy link
Member Author

Tests are broken here, but the same ones are also broken in v2-area in the same way, so I'm going to merge.

@meowgorithm meowgorithm merged commit 88778ca into v2-area Feb 1, 2025
12 of 26 checks passed
@meowgorithm meowgorithm deleted the v2-area-textarea-api-updates branch February 1, 2025 02:17
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.

5 participants