Paging output from python

后端 未结 5 1476
心在旅途
心在旅途 2020-12-09 02:16

I\'m trying to implement something similar to git log, which will only page the output if the log is of a certain length. If you\'re not familiar with git, I\'

5条回答
  •  不思量自难忘°
    2020-12-09 03:16

    I didn't like executing external commands, so I wrote pager in pure Python. It still has a problem - piped input works only for Windows.

提交回复
热议问题