Yup, utilizing a dispatch table would definitely be the smart way to do it.
Also, thanks for knocking some sense into me. :-) I guess what I'm trying to do may already be a bit too customized to my requirements anyway. For now, I'll stick to implementing the parser, which would hopefully not be too expensive considering the ncurses utility I'll be doing will be tailing massive amounts of data.
Thanks!
In reply to Re^4: Handling ANSI Escape Sequences for Printing to Curses
by atancasis
in thread Handling ANSI Escape Sequences for Printing to Curses
by atancasis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |