This is on Mac OS X 10.11.5, with the very latest Vim.  I can reproduce
with both MacVim and the "regular" X11 gVim.

Setting &termguicolors causes some strange display artifacts in the GUI,
when one uses "!" to run a shell cmd.  A bizarre suffix is appended to
the filename that replaces "%".

To reproduce, in your shell do:
  touch foo
  gvim[or mvim, if macvim] -u NONE -N -c "set tgc" foo

When the GUI opens, do:
  :!echo %

Expected to see:
  :!echo foo
  foo

  Press ENTER or type command to continue

What I actually see:
  :!echo foo-1H
  foo

  Press ENTER or type command to continue

The "%" is displayed as having expanded to include a "-1H" suffix.
Obviously, the shell is not actually receiving the "-1H" part.  And if I
enter the cmd line window to look at history, I see "!echo foo".  So
this seems like a display bug.

I'm unable to test this in console mode, because console mode
switches back to a shell and thus obscures the output.

I think the problem is not limited to ":!cmd" contexts, but that's the
only way I've found so far to reliably reproduce.  I have been seeing
seemingly random occurrences of "1H" in various buffers, which, when I
move the cursor across them, change back into whatever characters
they're supposed to be.

-Manny

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