switch to a real ansi sequence parser