gavinlaking/vedeu — pull request #82 by gavinlaking (2014-08-23 12:56:56+00:00)
Title: Changes:

76eb92a (Gavin Laking, 13 minutes ago)
Started working on resizing and refreshing views;
When the terminal resizes, a SIGWINCH event is fired by the kernel, which
I've hooked into to fire a :_resize_ event.
To correctly calculate the interface geometry, methods #viewport_height and
#viewport_width have been added. These methods affect Render and Clear
which have been changed to accommodate. Buffers and Buffer have also
changed since we no longer store a stringified version of the interface
here- instead we store the current, next and cleared interface object
collections meaning we can defer rendering to the last moment. (Previously,
by storing the stringified versions, if the terminal resized between
refreshes then the screen would corrupt. (It still corrupts but I'm working
on that.))
The delay argument to #event has been replaced with an options hash. This
provides the flexibility to either delay or debounce events. See code or
RubyDoc. Events has also been tidied up to remove complexity (though it
still needs work.)

ed75f5a (Gavin Laking, 21 minutes ago)
Add trappable logger from MonoLogger;
Written by Steve Klabnik (https://github.com/steveklabnik/mono_logger)

1013892 (Gavin Laking, 28 minutes ago)
Change normal/bold_off to \e[22m;
Update tests to reflect normal changing to e[22m.

49b4947 (Gavin Laking, 31 minutes ago)
Remove style table from README.

0f8e01d (Gavin Laking, 20 hours ago)
Add more documentation and placeholders for examples.

0bd462b (Gavin Laking, 20 hours ago)
Add spacing for conditionals to improve readability.

71f31b5 (Gavin Laking, 20 hours ago)
Move build methods down to models.

a4e874d (Gavin Laking, 20 hours ago)
Move Events and Log into support/.

4752bb6 (Gavin Laking, 27 hours ago)
Remove unused .error method.