Improve web terminal with ANSI parser