remvove links when content change underneath
clean up xterm escape codes handling
handle queries on some xterm escape codes