adjust copy & paste text extraction to be much nicer.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 25 Jun 2012 11:26:21 +0000 (11:26 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 25 Jun 2012 11:26:21 +0000 (11:26 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72800 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/termio.c

index 8779236..2c53167 100644 (file)
@@ -1465,7 +1465,7 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y)
         for (x = start_x; x <= end_x; x++)
           {
              if (x >= w) break;
-             if (cells[x].glyph == 0)
+             if ((cells[x].glyph == 0) ||  (cells[x].glyph == ' '))
                {
                   if (last0 < 0) last0 = x;
                }