Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

feat(widgets/paragraph): improve scrolling #349

Closed
wants to merge 1 commit into from
Closed

Conversation

fdehau
Copy link
Owner

@fdehau fdehau commented Aug 2, 2020

Add optional callback to Wrap to compute the scroll offsets given the wrapped lines. This let
users compute the offsets dynamically.

@fdehau fdehau linked an issue Aug 2, 2020 that may be closed by this pull request
Add optional callback to `Wrap` to compute the scroll offsets given the wrapped lines. This let
users compute the offsets dynamically.
ClementTsang added a commit to ClementTsang/bottom that referenced this pull request Aug 12, 2020
This also slightly improves how we generate the widths/heights to be
less... terrible.

Note this is not done, unfortunately.  This requires tui-rs' wrapped
paragraph height PR to land and release so I can properly calculate the
height offsets.

See fdehau/tui-rs#349 for details.
@vinaychandra
Copy link

@fdehau are there any blockers for this PR?

@deepu105
Copy link
Contributor

@fdehau any plans on merging this? this would be quite nice to have so that workarounds with list can be avoided

@help-t
Copy link

help-t commented Jan 4, 2022

trying to bump this pr 😞

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to scroll Paragraph when appending to the end?
4 participants