Repository navigation
Make strings taller than the screen readable - #41
Merged
Merged
Conversation
ArthurSonzogni
force-pushed
the
long-string-hscroll
branch
from
September 19, 2026 09:40
e55a6e9 to
de4d1ed
Compare
Owner
Author
|
@laurentalsina, what do you think about this? |
|
Ok Merci beaucoup. I keep my fork and rebase & some day a PR comes for a feature-flag. In any case I would never put as much data in a single json string as the BEAM agentic benchmark does, so my solution was niche. |
ArthurSonzogni
force-pushed
the
long-string-hscroll
branch
from
September 19, 2026 14:31
de4d1ed to
09c82d7
Compare
ArthurSonzogni
force-pushed
the
long-string-hscroll
branch
from
September 19, 2026 14:35
09c82d7 to
4dc9eb9
Compare
Wrap strings to the available width. While a string is focused, a cursor selects one row and the view follows it. Strings taller than 5 rows are collapsed; enter/space toggles. Also update FTXUI to v7.0.3.
ArthurSonzogni
force-pushed
the
long-string-hscroll
branch
from
September 19, 2026 14:43
4dc9eb9 to
29e3750
Compare
Owner
Author
|
@laurentalsina, what do you think about the next iteration? I added support for text wrapping, focus on the lines, abutton to expand very long text content, and performance optimization (e.g. displaying only the visible lines) test-2026-09-19_16.49.15.mp4Please let me know if that's great and I will submit a new json-tui version. |
|
yes it's a better design for most use cases |
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.
Strings taller than the screen couldn't be fully read.
Wrap strings to the available width. While a string is focused, a cursor
selects one row and the view follows it (up/down, page-up/page-down,
home/end). Strings taller than 5 rows are collapsed; enter/space toggles.
Also update FTXUI to v7.0.3.
Supersedes #39. Thanks @laurentalsina.