Skip to content

Allow ability to wrap lines on viewing pastes#186

Merged
matze merged 3 commits intomatze:masterfrom
theryecatcher:line-wrap
Oct 9, 2025
Merged

Allow ability to wrap lines on viewing pastes#186
matze merged 3 commits intomatze:masterfrom
theryecatcher:line-wrap

Conversation

@theryecatcher
Copy link
Copy Markdown
Contributor

This attempts to resolve issue #177.

  • Introduces a new line-wrap css class inheriting from the line class, which isn't used by default
  • Introduces a keybinding that would allow user to toggle between wrapping lines and not while viewing a paste
  • I had to update rust dependencies in the Dockerfile so as to allow testing with podman

Builds were failing prior to this. This can successfully generate a
podman image.
Introduces a css class to allow line wrap within a container. This is
not enabled by default. Also, introduces a key binding that will allow
the user to toggle the linewrap on and off.
Copy link
Copy Markdown
Owner

@matze matze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, all that's missing is a help entry in the overlay in formatted.html.

@theryecatcher theryecatcher requested a review from matze October 8, 2025 22:58
@theryecatcher
Copy link
Copy Markdown
Contributor Author

Thanks !! Updated the help overview too ...

@matze matze merged commit ee4f8ff into matze:master Oct 9, 2025
@matze
Copy link
Copy Markdown
Owner

matze commented Oct 9, 2025

Thanks for the contribution!

@theryecatcher theryecatcher deleted the line-wrap branch October 9, 2025 11:59
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.

2 participants