  {
      size_t vcount = 0;
      size_t icount = 0;
-@@ -450,91 +392,8 @@ text_buffer_add_char( text_buffer_t * se
+@@ -267,6 +209,7 @@ text_buffer_add_char( text_buffer_t * se
+     if( *current == '\n' )
+     {
+         text_buffer_finish_line(self, pen, true);
++        pen->y += markup->font->linegap;
+         return;
+     }
+ 
+@@ -450,91 +393,8 @@ text_buffer_add_char( text_buffer_t * se
          icount += 6;
  
          vertex_buffer_push_back( buffer, vertices, vcount, indices, icount );

 static void
 text_buffer_finish_line( text_buffer_t * self, vec2 * pen, bool advancePen )
 {
@@ -177,9 +117,10 @@ text_buffer_finish_line( text_buffer_t *
 
 // ----------------------------------------------------------------------------

--- ./src/external_plugins/term_gl_ui/freetype-gl-prefix/src/freetype-gl/text-buffer.c	2018-01-22 14:54:00.616458842 -0800
+++ src/external_plugins/term_gl_ui/term_text_buffer.c	2018-01-29 11:09:19.733406253 -0800
@@ -12,66 +12,33 @@
 #include "opengl.h"
 #include "text-buffer.h"
