Modifying text in the terminal

后端 未结 4 1782
别跟我提以往
别跟我提以往 2021-01-14 08:54

Is it possible to modify text I printed to the terminal without clearing the screen?

For instance, if I\'m showing progress of something in percentage, can I modify

4条回答
  •  执念已碎
    2021-01-14 09:39

    On Linux systems, check out the ncurses package. This package provides support for cursor movement on most terminals.

提交回复
热议问题