core: clear line with \033[K