阅读背景:

如何在终端上同步输入和输出?

来源:互联网 

I'm writing a linux shell for a custom scripting language, and I want to print a "... " before each follow-up line a user enters for a single statement, with the first line having a ">>> " printed, then waiting for input. Following is an example:I'm writing a linux shell for a custom scriptin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: