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

Text wrapping #93

Open
justinpombrio opened this issue May 5, 2024 · 2 comments
Open

Text wrapping #93

justinpombrio opened this issue May 5, 2024 · 2 comments
Labels

Comments

@justinpombrio
Copy link
Owner

Sometimes text is too long to fit on the screen. It should wrap somehow.

@justinpombrio
Copy link
Owner Author

Plan:

  • Hard wrap long lines.
  • Focus the middle of focal_line. It's called a line, but may now span many lines.
  • In text mode, up and down arrows should move "one screen width worth of characters".

@justinpombrio
Copy link
Owner Author

This should be implemented in ppp, as hard wrapping interacts with dynamically sized panes. Extend doc options to include hard_wrap: Option<(String, Style)>.

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

No branches or pull requests

1 participant