I've moved code block to a new function console_put_one. If console_putchar will be called directly from console_respond_str, it cause some problems. For example "\e[0n" should be printed entirely, but on the other hand, almost same escape sequence(i.e. in same switch statement) "\e[5n" should not be printed. It's consfusing and not good. So this way is better I think
Thanks, Ren