Christ van Willegen wrote:
> On Thu, Jun 25, 2015 at 5:03 PM, Bram Moolenaar <[email protected]> wrote:
> > Patch 7.4.757
> > Problem: Cannot detect the background color of a terminal.
> > Solution: Add T_RBG to request the background color if possible. (Lubomir
> > Rintel)
> > Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro
> > + #if defined(FEAT_TERMRESPONSE) || defined(PROTO)
> > + /*
> > + * Check how the terminal treats ambiguous character width (UAX #11).
> > + * First, we move the cursor to (1, 0) and print a test ambiguous
> > character
> > + * \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor
> > position.
> > + * If the terminal treats \u25bd as single width, the position is (1, 1),
> > + * or if it is treated as double width, that will be (1, 2).
> > + * This function has the side effect that changes cursor position, so
> > + * it must be called immediately after entering termcap mode.
> > + */
> > + void
> > + may_req_bg_color()
> > + {
> > + if (rbg_status == RBG_GET
>
> That comment looks wrong for that function.
Right, somehow I missed that.
--
hundred-and-one symptoms of being an internet addict:
153. You find yourself staring at your "inbox" waiting for new e-mail
to arrive.
/// 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.