如何为多个命令行设置动画?

时间:2019-02-25 23:22:28

标签: java animation command-line console output

我想知道如何像Docker一样为多行设置动画。我希望有一个Java或C ++示例,但我认为与ANSI无关。

macbook: bill$ docker pull jenkins
Using default tag: latest
latest: Pulling from library/jenkins
55cbf04beb70: Downloading  457.4kB/45.31MB
1607093a898c: Downloading  572.6kB/10.74MB
9a8ea045c926: Downloading  621.7kB/4.336MB
d4eee24d4dac: Waiting 
c58988e753d7: Waiting 

This question仅处理一行。 other well-known question/anwer也是如此。 Clearing the screen and returning home似乎也不起作用,因为无论刷新,使用透明屏幕字符还是使用主字符,换行符似乎都会保留。

0 个答案:

没有答案