Giter Club home page Giter Club logo

Comments (13)

youxiachai avatar youxiachai commented on July 17, 2024

然后尝试使用到目录下 运行 node cli 直接跑,

看enter 键报open 命令不存在...

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

我还没在 windows 下试过,我猜就算 speaker 能编译通过,term-list 也不支持。。

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

open 命令不存在这个确实是这个工具的 bug,我写死在代码里了,win 下是没有 open 的

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

@turingou 很惊讶的发现term-list 在win 下是能用的(主要是是那个箭头字符没法显示)..只是显示效果不佳,选择,按键都正常 解析

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

只能说 TJ 考虑的太周全了,靠谱的模块。

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

实测windows 可用...只要把dos 改为 chcp 65001 就好了..

还有就是DEBUG 环境记得设置为空..

2

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

补充一下,win 下按s 一波命令不存在.. 为啥不用commader处理输入呢?
3

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

对了其实douban.fm 这样命令行命名不太好吧.. *.fm 这种可能会认为是一种文件,一般命令行的命名不会把标点符号放到里面去吧..

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

open 在 win 下是没有的。所以会报错。和处理输入没有关系的

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

@turingou 看了一下源码,这个open 是打开浏览器吧?

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

@youxiachai 是的

from douban.fm.

youxiachai avatar youxiachai commented on July 17, 2024

@turingou 话说 *nix 平台 & 不需要转义吗...win 下的分享我已经搞定了..今晚提一个PR..

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

好的,感谢~

from douban.fm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.