termscroll:简单的终端实用程序可呈现,滚动和选择项目列表:laptop:

时间:2021-03-07 10:16:40
【文件属性】:
文件名称:termscroll:简单的终端实用程序可呈现,滚动和选择项目列表:laptop:
文件大小:8.35MB
文件格式:ZIP
更新时间:2021-03-07 10:16:40
Go 条款滚动 利用termsroll在终端上更改墙纸的示例程序: 安装及使用 $ go get github.com/solidiquis/termscroll package main import ( "fmt" ts "github.com/solidiquis/termscroll" ) func main () { items := [] string { "item a" , "item b" , "item c" , "item d" , // ... } // Graceful exit necessary to unhide cursor done := make ( chan bool ) listenForExitSig , cleanup := ts . InitExitStrat ( don
【文件预览】:
termscroll-master
----stdin.go(333B)
----.gitignore(10B)
----go.mod(49B)
----assets()
--------demo.gif(9.67MB)
----LICENSE(1KB)
----vt_100.go(535B)
----README.md(1KB)
----example()
--------main.go(740B)
----cleanup.go(311B)
----render.go(1KB)

网友评论