Hi Bram,

2017-4-19(Wed) 1:53:20 UTC+9 Bram Moolenaar:
> Hirohito Higashi wrote:
> 
> > At this point, it's only on the Terminal App and iTerm2 of macOS that I can 
> > confirm this phenomenon.
> > 
> > Preparation for repro.:
> > - Terminal settings:
> >   - encoding: utf-8
> >   - Unicode East Asian Ambiguous Character width: Wide
> > 
> > How to reproduce:
> > Run vanilla Vim with some options in Terminal App on macOS.
> > - vim -Nu NONE --cmd "set enc=utf-8" -c "set ambw=double"
> >   Note: This Vim build configure is "Huge and without GUI".
> > 
> > - Paste the following character (U+25BC) in insert mode.
> >   ▼
> > 
> > Expected behavior:
> > - The above characters are correctly displayed.
> > 
> > Actual behavior:
> > - Does not displayed properly.
> > 
> > 
> > NOTE:
> > - Vim 8.0.0542 displayed this correctly.
> > - Vim 8.0.0543 does not. (Also 8.0.0566)
> > 
> > 
> > In 8.0.0542, function may_req_ambiguous_char_width() is not included 
> > judgment of `starting == 0`.
> > But, 8.0.0543 is included.
> > So I remove this judgement.
> > 
> > Check attached patch.
> > I don't know this is the best solution.
> 
> Removing the check for "starting" is tricky, it may send control
> sequences at the wrong moment.  The call to the function is too early,
> when "starting" is still non-zero.  Let's move the calls down.  Please
> check it works for you after that patch.

Vim 8.0.0567 works fine for me. Thanks!

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
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.

Raspunde prin e-mail lui