in reply to Re^3: Handling ANSI Escape Sequences for Printing to Curses
in thread Handling ANSI Escape Sequences for Printing to Curses

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!

  • Comment on Re^4: Handling ANSI Escape Sequences for Printing to Curses