Browse Source

* Documentation fixes and TODO updates.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
aa3e191ccd
2 changed files with 5 additions and 3 deletions
  1. +3
    -1
      TODO
  2. +2
    -2
      cucul/export.c

+ 3
- 1
TODO View File

@@ -4,6 +4,8 @@

\subsection dep API-dependent stuff

- support for holes in canvas (eg. not full EOL)
- support for TAB
- allow to change the canvas size in a per-frame basis.
- export attribute parsing functions such as attr_to_ansi4fg etc.

@@ -28,7 +30,7 @@

\subsection dep API-dependent stuff

- nothing more!
- beep support

\subsection indep API-independent stuff



+ 2
- 2
cucul/export.c View File

@@ -166,10 +166,10 @@ static void *export_caca(cucul_canvas_t *cv, unsigned long int *bytes)
char *data, *cur;
unsigned int n;

/* 44 bytes for the header:
/* 52 bytes for the header:
* - 4 bytes for "\xCA\xCA" + "CV"
* - 16 bytes for the canvas header
* - 24 bytes for the frame info
* - 32 bytes for the frame info
* 8 bytes for each character cell */
*bytes = 52 + 8 * cv->width * cv->height;
cur = data = malloc(*bytes);


Loading…
Cancel
Save