是否有上行字符? (\\\<br/>的对面) [英] Is there go up line character? (Opposite of \n)
本文介绍了是否有上行字符? (\\\<br/>的对面)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在串行控制台中覆盖上面的一行。
I would like to overwrite something on a line above in in a serial console. Is there a character that allows me to move up?
推荐答案
大多数终端都了解 ANSI转义代码。到前一行开头的代码是\033 [F
。
Most terminals understand ANSI escape codes. The code for going to the beginning of the previous line is "\033[F"
.
这篇关于是否有上行字符? (\\\<br/>的对面)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文