Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52200 Details for
Bug 83416
vim: TERM="screen.linux" doesn't get &background right
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vim7-screen.linux-is-dark.patch
vim7-screen.linux-is-dark.patch (text/plain), 977 bytes, created by
Ciaran McCreesh
on 2005-02-26 15:48:10 UTC
(
hide
)
Description:
vim7-screen.linux-is-dark.patch
Filename:
MIME Type:
Creator:
Ciaran McCreesh
Created:
2005-02-26 15:48:10 UTC
Size:
977 bytes
patch
obsolete
>Index: src/option.c >=================================================================== >--- src/option.c (revision 2) >+++ src/option.c (revision 3) >@@ -3109,11 +3109,15 @@ > /* > * If 'background' wasn't set by the user, try guessing the value, > * depending on the terminal name. Only need to check for terminals >- * with a dark background, that can handle color. Only "linux" >- * console at the moment. >+ * with a dark background, that can handle color. We recognise: >+ * * 'linux' -- linux console >+ * * 'screen.linux' -- linux console, with screen > */ > idx = findoption((char_u *)"bg"); >- if (!(options[idx].flags & P_WAS_SET) && STRCMP(T_NAME, "linux") == 0) >+ if (!(options[idx].flags & P_WAS_SET) && ( >+ (STRCMP(T_NAME, "linux") == 0) || >+ (STRCMP(T_NAME, "screen.linux") == 0) >+ )) > { > set_string_option_direct(NULL, idx, (char_u *)"dark", OPT_FREE); > /* don't mark it as set, when starting the GUI it may be changed
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 83416
: 52200