boothj5/profanity — pull request #374 by immae (2014-06-29 13:08:50+00:00)
Title: Implemented the buffer for windows resizing

buffer_yield in buffer.c is not used for the moment and is buggy.

This implements the buffer for windows, used when the terminal is resized to redraw the pad. Some of the top lines might be lost (since the PAD is 1000 lines and the buffer has 1000 entries and there can sometimes be more than one entry per PAD line)