Christian Brabandt wrote: > > On Do, 21 Apr 2016, Bram Moolenaar wrote: > > > > > Patch 7.4.1770 > > > Problem: Cannot use true color in the terminal. > > > Solution: Add the 'guicolors' option. (Nikolai Pavlov) > > > Files: runtime/doc/options.txt, runtime/doc/term.txt, > > > > > ! Sometimes setting 'guicolors' is not enough and one has to set the > > > |t_8f| and > > > ! |t_8b| options explicitly. Default values of these options are > > > ! `^[[38;2;%lu;%lu;%lum` and `^[[48;2;%lu;%lu;%lum` (replace `^[` with > > > real > > > ! escape) respectively, but it is only set when `$TERM` is `xterm`. > > > > That part isn't true, is it? > > I always have to explicitly set t_8f and t_8b according to the > > documentation. But it would be great, if it could work according to the > > documentation. > > > > #v+ > > ~/vim/src$ TERM=xterm ./vim -u NONE -N -i NONE --cmd 'set guicolors' > > --cmd ':set term? t_8f? t_8b?' --cmd ':q!' > > term=xterm t_8f= t_8b= > > ~/vim/src$ > > #v- > > I think, this patch fixes it:
Thanks! I'll also fix the strange #ifdefs for xterm. -- "Hegel was right when he said that we learn from history that man can never learn anything from history." (George Bernard Shaw) /// 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.
