Ignore:
Timestamp:
Nov 13, 2006, 2:02:05 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Support for ANSI escape codes in the input:

http://zoy.org/~sam/toilet-ansi.png
http://zoy.org/~sam/toilet-ansi2.png

  • Empty lines are currently broken.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/term.c

    r1376 r1385  
    2727#include "render.h"
    2828
    29 static int feed_tiny(context_t *, uint32_t);
     29static int feed_tiny(context_t *, uint32_t, uint32_t);
    3030static int flush_tiny(context_t *);
    3131static int end_tiny(context_t *);
     
    4343}
    4444
    45 static int feed_tiny(context_t *cx, uint32_t ch)
     45static int feed_tiny(context_t *cx, uint32_t ch, uint32_t attr)
    4646{
    4747    switch(ch)
     
    8080    }
    8181
     82    cucul_set_attr(cx->cv, attr);
    8283    cucul_set_canvas_size(cx->cv, cx->ew, cx->eh);
    8384
Note: See TracChangeset for help on using the changeset viewer.