请问 iTerm2 下图中这种沉浸式标题栏效果怎么设置的?

2018-07-17 10:55:57 +08:00
 lrvy

https://i.loli.net/2018/07/17/5b4d5a4825b2f.jpg

如图,沉浸式标题栏,并且标题栏和终端之间也没有 1 像素的白线

4325 次点击
所在节点    问与答
30 条回复
ChangQin
2018-07-17 14:59:10 +08:00
@InternetExplorer 你那个是怎么调的啊?
InternetExplorer
2018-07-17 15:11:36 +08:00
去掉 tab,去掉「 Show line under title bar when the tab bar is not visible 」,titlebar 在黑色主题下使用黑色,然后调背景颜色和 titlebar 一样(滴管吸一下,微调一下就好)
具体的自己看着调,初始状态不一样很难说
InternetExplorer
2018-07-17 15:12:32 +08:00
@ChangQin #21 ^^^^^^^^^^^^^
archean
2018-07-17 15:15:35 +08:00
折腾了下,发现 tab bar 的颜色跟我 Gruvbox 的配色没办法调整成一致的,后来发现开发者说 iTerm2 3.2 版本前可能无法解决这个问题。

而且在 OS X 下界面效果差强人意,放弃了。

以下是引用( https://gitlab.com/gnachman/iterm2/issues/6324 ):
High sierra doesn't give apps control over the title bar color unless they draw the title bar themselves, but doing so breaks background blur. I have another change in the works that will increase drawing performance at the cost of breaking background blur, at which time it will make sense to also fix the title bar issue.
ChangQin
2018-07-17 15:24:28 +08:00
@InternetExplorer 会了(流汗)~
ChangQin
2018-07-17 15:36:21 +08:00
@InternetExplorer 终于搞定,写代码心情也变好了,谢啦~
yuuko
2018-07-17 23:55:54 +08:00
怎么改 title bar 颜色?
yuuko
2018-07-18 00:17:06 +08:00
两台 mac
1. 10.13.3 不能改 titlebar 颜色
2. 10.12.4 可以改 titlebar 颜色
wrdfeng
2021-03-24 09:57:12 +08:00
Appearance --> Theme --> Minimal 就可以了
lrvy
2021-03-24 17:19:23 +08:00
@wrdfeng #29 感谢,不过这个是两年前的帖子了,问题早已解决

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/471517

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX