小编cam*_*ous的帖子

tput ed 为空

的输出tput ed为空,我不知道为什么。其他功能工作正常。输出中也ed没有丢失,infocmp所以 tput 应该匹配,对吗?

$ printf '%q' "$(tput ed)"
''
Run Code Online (Sandbox Code Playgroud)
$ printf '%q' "$(tput home)"
$'\033'\[H
Run Code Online (Sandbox Code Playgroud)

我在 Mac OS 10.14.6 和 iTerm2 上使用 zsh。术语=xterm-256color。

tput terminfo macos

4
推荐指数
2
解决办法
224
查看次数

标签 统计

macos ×1

terminfo ×1

tput ×1