同时显示所有输入字段和相关文本提示的一种替代方案就是单独显示文本提示。
An alternative to displaying all input fields and associated textual prompts at the same time is to display the textual prompts alone.
这是一个两行的提示符,可以给我更多的空间来输入命令。 提示符中有当前登录的用户名、主机名、冒号后还有当前工作路径。
It's a double-line prompt, giving me more room to write commands, and it offers me the current user logged in, the hostname, and the current working directory (after the colon).
如果您的命令与右边提示符十分相似,则提示符会自动消失,以留下多余的空间供您输入命令。
If your command gets close to the right-hand prompt, that prompt will automagically disappear, leaving all that extra space for your command.
ArgC How many words were typed at the prompt, by default, Arg C, should always be at least one.
提示符那里默认要输入多少单词,至少需要一个单词。
Train schedule, you will be prompted by the newer boxes from where to where.
列车时间表,一个新搜索框会提示你,输入起点与终点。
And again, if I just run this, just to show that it's going to do the right thing, it says enter base, I'm obnoxious, it says oops, wasn't a float, so we'll be nice about it and I enter a height, and it prints out what I expected. I just concatenated those strings together, by the way, at the end.
我再来运行下看是不是做对了,提示输入底,噢,它提示说不是浮点数,我很高兴,然后我输入一个,浮点数作为高度显示结果和我预期的相同,顺便说一句,我只是在最后把这些字符串连接起来了。
应用推荐