krainboltgreene/termnote — pull request #5 by mileszs (2012-11-14 19:05:56+00:00)
Title: Positioning fixes

On OSX, using both Terminal and iTerm2, I was experiencing poor positioning; everything was off-center to my right, and code was left-aligned, and sometimes off screen to the top. The included commits work very well for me, but will need testing by others.

To be more specific, I think the gutter and space overrides in Pane::Code will work for everyone. I think the change I made to window width -- arbitrarily subtracting 50 -- is only optimal for my screen width. I am essentially punting on that one for the moment. I will be using these slides at tonight's Indianapolis Ruby Brigade meetup, and thus am in a sort of "hey works for now" situation. :-)