Ignore:
Timestamp:
May 12, 2006, 9:31:50 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Add linebreaks to the ANSI exporter for better readability, and use the save/load cursor position trick to ignore them.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/export.c

    r951 r952  
    320320        }
    321321
    322         if(cv->width != 80)
     322        if(cv->width == 80)
     323        {
     324            cur += sprintf(cur, "\033[s\n\033[u");
     325        }
     326        else
    323327        {
    324328            cur += sprintf(cur, "\033[0m\r\n");
Note: See TracChangeset for help on using the changeset viewer.