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

Word Wrap #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Word Wrap #395

wants to merge 1 commit into from

Conversation

ear
Copy link

@ear ear commented Jun 23, 2019

I have tried to implement word wrapping. I am not very proficient in Ruby.

This is a work in progress. Unfinished, unpolished, but usable. The tweets do indeed wrap more nicely than the default abrupt cuts.

I'm posting this here to the benefit of the people from issue #346 or whoever might like to try it and help improve it.

TODO

  • I think the modifications on the maxx calculations are wrong: I want to add a 1 line gutter to the right but I haven't figured out how yet.
  • I think the maxy calculations might also be off but I'm not sure. The last one or two tweets do escape the bottom of the page sometimes.
  • The tab bar at the top also needs to be wrapped nicely.

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.

1 participant