
image.png
需要这个东西的初衷 :
- nodejs (vue/react) cli 创建模板的询问过程无法回退 , 只能重头开始 ;
- linux各种运维命令行根本记不住 , 需要一个界面来记录常用命令 ;
我们的需求 :
- 鼠标/光标支持 (表单)
- 键盘支持
- 常用组件 / 高阶组件(Tree, List, Tab, Table, 图表...)
- 滚动条组件(ScrollView) -- 这个单独强调
- 跨平台 , 支持xshell 等ssh工具.
C# dotnet corehttps://github.com/migueldeicaza/gui.cs -- 目前体验最好 , 但是滚动条还有一些bug.
Pythonhttps://github.com/urwid/urwid -- 还未体验https://github.com/prompt-toolkit/python-prompt-toolkit -- 有滚动demo , 但是滚动条事件未实现 , 更新乏力.
Nodejshttps://github.com/chjj/blessed -- window cmd 的鼠标不支持 , 而且6年未更新 .https://github.com/yaronn/blessed-contrib -- 基于上面一个 .
Rusthttps://github.com/fdehau/tui-rs -- 没看见ScrollView , 但是支持滚动
Swift --不考虑https://github.com/migueldeicaza/TermKit
Go --不考虑https://github.com/nsf/termbox-gohttps://github.com/jroimartin/gocui