Christian wrote:
> this patch enables termguicolor setting automatically for terminals > supporting the "RGB" capability. This needs a relatively recent ncurses > and xterm release (I believe xterm > 331 is fine). Once the terminfo > database updates have been spread wide enough (you need a new $TERM > variable indicating true color mode, e.g. ending with -direct), this > allows us to get rid of setting the 'termguicolor' mode automatically. > > So with a recent xterm and ncurses, running > TERM=xterm-direct vim --clean > > will automatically enable better colors. I tested this with my current > unstable/testing Debian system and this works. Note, all those automatic > terminal capabilities inside Vim appear like black magic to me. So I am > not sure this is the best approach. I don't think we should do this. Users who have carefully tuned their terminal colors will suddenly get GUI colors, which are very different. Would it still be useful to have users enable the automatic setting of 'termguicolors'? It's probably too complicated. -- Edison's greatest achievement came in 1879, when he invented the electric company. Edison's design was a brilliant adaptation of the simple electrical circuit: the electric company sends electricity through a wire to a customer, then immediately gets the electricity back through another wire /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
