twterm
twterm copied to clipboard
Word Wrap
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.