Fixed a bug in bufwin_new_line that meant if a new line was added at position 'p' in line 'l' and p < l.length then the new line that was created would not be rendered until another character was entered