Update command line output

前端 未结 5 1952
逝去的感伤
逝去的感伤 2021-02-05 21:33

My program (which happens to be in Perl, though I don\'t think this question is Perl-specific) outputs status messages at one point in the program of the form Progress: x/

5条回答
  •  孤独总比滥情好
    2021-02-05 22:10

    You can also use the ANSI escape codes to directly control the cursor. Or you can use Term::ReadKey to do the same thing.

提交回复
热议问题