[vim/vim] Makes MS-Windows's control of titlebar optional (PR #18449)

5 views
Skip to first unread message

毛逸宁

unread,
7:00 AM (9 hours ago) 7:00 AM
to vim/vim, Subscribed

Since patch 9.1.1813, Someone asked me to make it as an option behaviour. My solution is use a 'go-C' to control it and use it default.

what's more the commit message of patch 9.1.1813 is outdated.

This commit seen the caption bar as the extension of the background so
it is follow the option 'background' before Windows 11 and follow the
background color after Windows 11.

Now only support it on Windows 11. On Windows 10, users only can enable accent color in the title bar in Windows's control center.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18449

Commit Summary

  • 934a8c3 Make MS-Windows's control of titlebar optional

File Changes

(7 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18449@github.com>

毛逸宁

unread,
7:19 AM (8 hours ago) 7:19 AM
to vim/vim, Push

@mao-yining pushed 1 commit.

  • 3bf74b6 Make MS-Windows's control of titlebar optional


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18449/before/934a8c36c588fefaf43e2b3204fcc6fb3734a628/after/3bf74b629f6c7e598ce7a672a2ab5e2076bcd628@github.com>

Restorer

unread,
3:03 PM (1 hour ago) 3:03 PM
to vim/vim, Subscribed

@RestorerZ requested changes on this pull request.


In runtime/doc/options.txt:

> @@ -4483,6 +4483,9 @@ A jump table for the options with a short description can be found at |Q_op|.
 								*'go-c'*
 	  'c'	Use console dialogs instead of popup dialogs for simple
 		choices.
+								*'go-C'*
+	  'C'	Use |hl-Normal| control the colour of the caption bar if
+		available.  Currently only works for MS-Windows.

In the caption, you wrote "titlebar", in the previous pull request in the documentation it was "title bar", and here it is "caption bar". So what do you mean?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18449/review/3286292980@github.com>

Reply all
Reply to author
Forward
0 new messages