Ai
1 Star 0 Fork 0

keke_ys/go-colorable

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 284 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yasuhiro Matsumoto 提交于 2017-02-11 01:28 +08:00 . move files
package main
import (
"bufio"
"fmt"
"github.com/mattn/go-colorable"
)
func main() {
stdOut := bufio.NewWriter(colorable.NewColorableStdout())
fmt.Fprint(stdOut, "\x1B[3GMove to 3rd Column\n")
fmt.Fprint(stdOut, "\x1B[1;2HMove to 2nd Column on 1st Line\n")
stdOut.Flush()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/keke_ys/go-colorable.git
git@gitee.com:keke_ys/go-colorable.git
keke_ys
go-colorable
go-colorable
v0.1.0

搜索帮助