【发布时间】:2020-04-12 06:07:06
【问题描述】:
我想在输入块前面有一个前缀,就像 python 一样:
E:\Users\foobar\Downloads\KahootTest1>py Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
当我写 console.log(">>>") 时,它会自动开始一个新行,所以我无法输入。
谢谢
【问题讨论】:
标签: javascript node.js npm input command-line-interface