[vim/vim] vim.exe to 24bit color (#2060)

271 views
Skip to first unread message

Nobuhiro Takasaki

unread,
Sep 5, 2017, 8:10:32 AM9/5/17
to vim/vim, Subscribed

Start with :set termguicolors.
Please build with Make_mvc.mak VCON=yes.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/2060

Commit Summary

  • Added FEAT_VCON

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Nobuhiro Takasaki

unread,
Sep 5, 2017, 8:41:29 AM9/5/17
to vim/vim, Subscribed

before: (colorscheme desert)
image

after:
image

Christian Brabandt

unread,
Sep 5, 2017, 10:14:49 AM9/5/17
to vim/vim, Subscribed

@chrisbra commented on this pull request.


In src/proto/os_win32.pro:

> @@ -67,4 +67,5 @@ void used_file_arg(char *name, int literal, int full_path, int diff_mode);
 void set_alist_count(void);
 void fix_arg_enc(void);
 int mch_setenv(char *var, char *value, int x);
+BOOL correct_vtp(void);

I think we are not using BOOL

Nobuhiro Takasaki

unread,
Sep 5, 2017, 10:23:35 AM9/5/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Codecov

unread,
Sep 5, 2017, 10:24:20 AM9/5/17
to vim/vim, Subscribed

Codecov Report

Merging #2060 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2060      +/-   ##
==========================================
+ Coverage   73.73%   73.74%   +<.01%     
==========================================
  Files          90       90              
  Lines      129954   129954              
  Branches    28915    28915              
==========================================
+ Hits        95824    95829       +5     
+ Misses      34106    34105       -1     
+ Partials       24       20       -4
Impacted Files Coverage Δ
src/term.c 50.41% <ø> (ø) ⬆️
src/version.c 79.18% <ø> (-1.02%) ⬇️
src/misc1.c 82.28% <ø> (ø) ⬆️
src/if_xcmdsrv.c 84.25% <0%> (-2.04%) ⬇️
src/evalfunc.c 82.69% <0%> (-0.02%) ⬇️
src/gui_gtk_x11.c 47.24% <0%> (ø) ⬆️
src/window.c 81% <0%> (+0.03%) ⬆️
src/channel.c 82.33% <0%> (+0.08%) ⬆️
src/ex_cmds.c 77.68% <0%> (+0.08%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e32f61...debce99. Read the comment docs.

Nobuhiro Takasaki

unread,
Sep 5, 2017, 10:25:56 AM9/5/17
to vim/vim, Subscribed

@ntak commented on this pull request.


In src/proto/os_win32.pro:

> @@ -67,4 +67,5 @@ void used_file_arg(char *name, int literal, int full_path, int diff_mode);
 void set_alist_count(void);
 void fix_arg_enc(void);
 int mch_setenv(char *var, char *value, int x);
+BOOL correct_vtp(void);

I was careless...fixed.

K.Takata

unread,
Sep 5, 2017, 8:19:45 PM9/5/17
to vim/vim, Subscribed

This will fix #1270.

Nobuhiro Takasaki

unread,
Sep 5, 2017, 9:10:43 PM9/5/17
to vim/vim, Subscribed

I found it earlier.
Space key to the right, backspace key to the left.
notgc does not do this. Not even VCON=no does.
It resolves quickly.

test c-c__vim_vimpullreq-vim-2017_09_06-9_47_57

Nobuhiro Takasaki

unread,
Sep 5, 2017, 10:31:03 PM9/5/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Sep 5, 2017, 10:32:57 PM9/5/17
to vim/vim, Subscribed

I made a mistake in handling the WriteConsole API.

Nobuhiro Takasaki

unread,
Sep 28, 2017, 8:40:44 AM9/28/17
to vim/vim, Subscribed

After scrolling, the right edge of the screen becomes colorless.
Scroll API ignores color information.
Wait for Microsoft's fix.
Or I might miss something...

Nobuhiro Takasaki

unread,
Sep 28, 2017, 8:44:26 AM9/28/17
to vim/vim, Subscribed

I forgot.
Start with
:set term=win32-24bit
:set termguicolors

Nobuhiro Takasaki

unread,
Oct 1, 2017, 7:40:36 PM10/1/17
to vim/vim, Subscribed

All problems have been resolved !

(Unexpectedly, the commit seems to have been aranged in order of date, Correctly Rewrote is later than Revert all.)

Nobuhiro Takasaki

unread,
Oct 1, 2017, 10:48:55 PM10/1/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Oct 2, 2017, 12:08:24 AM10/2/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Oct 2, 2017, 12:13:20 AM10/2/17
to vim/vim, Subscribed

I will check also in the GentooLinux and MinGW64 environment in the future.

Nobuhiro Takasaki

unread,
Oct 2, 2017, 1:17:37 AM10/2/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 337edcc Warning suppression with FEAT_GUI


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Oct 2, 2017, 1:20:45 AM10/2/17
to vim/vim, Subscribed

I learned.
I will make use of it next.

Nobuhiro Takasaki

unread,
Oct 2, 2017, 1:28:22 AM10/2/17
to vim/vim, Subscribed

I was careless again.
Now I am making changes to work only with on/off of tgc.

Nobuhiro Takasaki

unread,
Oct 4, 2017, 3:58:24 AM10/4/17
to vim/vim, Push

@ntak pushed 2 commits.

  • f131273 Suppress flicker at shell startup
  • cab5437 Optimization of t_Co


You are receiving this because you are subscribed to this thread.

View it on GitHub

K.Takata

unread,
Oct 21, 2017, 3:16:36 PM10/21/17
to vim/vim, Subscribed

I tried this on Windows 10 Fall Creators Update. It looks almost good, but 'tgc' is automatically set to on. It should be explicitly set by user.

Nobuhiro Takasaki

unread,
Oct 22, 2017, 12:53:09 PM10/22/17
to vim/vim, Subscribed

I did it like that.
I read it further and wrote it properly.

Nobuhiro Takasaki

unread,
Oct 22, 2017, 6:37:56 PM10/22/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 2557741 Fix default color mistake


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Oct 22, 2017, 8:01:51 PM10/22/17
to vim/vim, Subscribed

Fix :colorscheme on notgc failed.
(Bug repro, :colorscheme blue | colorscheme default)

Nobuhiro Takasaki

unread,
Oct 23, 2017, 1:28:12 AM10/23/17
to vim/vim, Push

@ntak pushed 1 commit.

  • c4eea13 Improve portability and readability


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Oct 23, 2017, 1:34:45 AM10/23/17
to vim/vim, Subscribed

The build was broken for a long time. Fixed. I wonder what I'm doing...

Nobuhiro Takasaki

unread,
Oct 23, 2017, 11:27:25 AM10/23/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Bram Moolenaar

unread,
Nov 5, 2017, 11:57:28 AM11/5/17
to vim/vim, Subscribed

What is the status of this patch? Have enough people tried it out to know it's working well?


You are receiving this because you are subscribed to this thread.

K.Takata

unread,
Nov 6, 2017, 4:15:12 AM11/6/17
to vim/vim, Subscribed

@k-takata commented on this pull request.

@ntak Could you check my review comments?

I also wonder the prefix VCON_ is suitable for this.
Microsoft doesn't use the term "Virtual Console" in the reference: https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
Used terms are "Virtual Terminal Sequences", "ENABLE_VIRTUAL_TERMINAL_PROCESSING", etc.
VTP_ might be prefer? What do you think?


In src/os_win32.c:

> +typedef struct _DYN_CONSOLE_SCREEN_BUFFER_INFOEX
+{
+    ULONG cbSize;
+    COORD dwSize;
+    COORD dwCursorPosition;
+    WORD wAttributes;
+    SMALL_RECT srWindow;
+    COORD dwMaximumWindowSize;
+    WORD wPopupAttributes;
+    BOOL bFullscreenSupported;
+    COLORREF ColorTable[16];
+} DYN_CONSOLE_SCREEN_BUFFER_INFOEX, *PDYN_CONSOLE_SCREEN_BUFFER_INFOEX;
+typedef BOOL (WINAPI *PfnDynGetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynGetConsoleScreenBufferInfoEx pDynGetConsoleScreenBufferInfoEx;
+typedef BOOL (WINAPI *PfnDynSetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynSetConsoleScreenBufferInfoEx pDynSetConsoleScreenBufferInfoEx;

The prefix Dyn is not needed for these function pointers, because they don't conflict with the actual function names. Can you change these 4 lines as follows?

typedef BOOL (WINAPI *PfnGetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
static PfnGetConsoleScreenBufferInfoEx pGetConsoleScreenBufferInfoEx;
typedef BOOL (WINAPI *PfnSetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
static PfnSetConsoleScreenBufferInfoEx pSetConsoleScreenBufferInfoEx;

In src/os_win32.c:

> @@ -7232,3 +7417,521 @@ mch_setenv(char *var, char *value, int x)
 
     return 0;
 }
+
+#ifndef FEAT_GUI_W32
+
+# define VTP_FIRST_SUPPORT_BUILD MAKE_VER(10, 0, 10563)

I have some comments about this line.

  • Can you add a comment to describe what this build number is?
    E.g. /* Windows 10 version 1507 (November Update) */
  • You use the prefix VTP_ here, however you use VCON_ or vcon_ in other part.
    Isn't it better to use VCON_ here? (Or is it better to use VTP_ (short for Virtual Terminal Processing) everywhere?)
  • Should we support 256 colors or 24-bit colors from 1507? I think they have been supported from 1703.
    (Benefit for using VCON on 1507 might be support for underlines, but is it really needed?)

So, my suggestion is:

/* Support for 256 colors and 24-bit colors was added in Windows 10
 * version 1703 (Creators Update). */
# define VCON_FIRST_SUPPORT_BUILD MAKE_VER(10, 0, 15063)

In src/proto/os_win32.pro:

> @@ -67,4 +67,6 @@ void used_file_arg(char *name, int literal, int full_path, int diff_mode);
 void set_alist_count(void);
 void fix_arg_enc(void);
 int mch_setenv(char *var, char *value, int x);
+void control_console_color_rgb(void);
+int vcon_get_stat(void);

It seems that these lines conflict with the latest code.
Could you fix them?


In src/os_win32.c:

> +static void vcon_clear_to_end_of_display(void);
+static void vcon_clear_to_end_of_line(void);
+static void vcon_scroll(unsigned cLines);
+static void vcon_standout(void);
+static void vcon_standend(void);
+static void hub_gotoxy(unsigned x, unsigned y);
+static void vcon_gotoxy(unsigned x, unsigned y);
+#endif
+#ifndef FEAT_GUI_W32
+static void set_console_color_rgb(void);
+static void reset_console_color_rgb(void);
+#endif
+
+/* This flags newly created from Windows 10 */
+#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
+#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004

s/#define/# define/
Please insert a space.


In src/os_win32.c:

> +static DWORD vcon_write_chars(char_u *pchBuf, DWORD cbToWrite);
+static void vcon_clear_screen(void);
+static void vcon_clear_to_end_of_display(void);
+static void vcon_clear_to_end_of_line(void);
+static void vcon_scroll(unsigned cLines);
+static void vcon_standout(void);
+static void vcon_standend(void);
+static void hub_gotoxy(unsigned x, unsigned y);
+static void vcon_gotoxy(unsigned x, unsigned y);
+#endif
+#ifndef FEAT_GUI_W32
+static void set_console_color_rgb(void);
+static void reset_console_color_rgb(void);
+#endif
+
+/* This flags newly created from Windows 10 */

s/This flags/This flag is/
I think this is a typo.


In src/os_win32.c:

> +    WORD wAttributes;
+    SMALL_RECT srWindow;
+    COORD dwMaximumWindowSize;
+    WORD wPopupAttributes;
+    BOOL bFullscreenSupported;
+    COLORREF ColorTable[16];
+} DYN_CONSOLE_SCREEN_BUFFER_INFOEX, *PDYN_CONSOLE_SCREEN_BUFFER_INFOEX;
+typedef BOOL (WINAPI *PfnDynGetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynGetConsoleScreenBufferInfoEx pDynGetConsoleScreenBufferInfoEx;
+typedef BOOL (WINAPI *PfnDynSetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynSetConsoleScreenBufferInfoEx pDynSetConsoleScreenBufferInfoEx;
+static BOOL has_csbiex = FALSE;
+#endif
+
+/* This can be removed when used with FEAT_GUI. */
+#if !defined(FEAT_GUI)

I think that the lines L292-L295 can be removed.


In src/os_win32.c:

> +    WORD wPopupAttributes;
+    BOOL bFullscreenSupported;
+    COLORREF ColorTable[16];
+} DYN_CONSOLE_SCREEN_BUFFER_INFOEX, *PDYN_CONSOLE_SCREEN_BUFFER_INFOEX;
+typedef BOOL (WINAPI *PfnDynGetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynGetConsoleScreenBufferInfoEx pDynGetConsoleScreenBufferInfoEx;
+typedef BOOL (WINAPI *PfnDynSetConsoleScreenBufferInfoEx)(HANDLE, PDYN_CONSOLE_SCREEN_BUFFER_INFOEX);
+static PfnDynSetConsoleScreenBufferInfoEx pDynSetConsoleScreenBufferInfoEx;
+static BOOL has_csbiex = FALSE;
+#endif
+
+/* This can be removed when used with FEAT_GUI. */
+#if !defined(FEAT_GUI)
+
+/*
+ * Get verion number including build number

s/verion/version/
Typo.


In src/os_win32.c:

> @@ -3812,7 +3927,12 @@ mch_settmode(int tmode)
 	if (g_fMouseActive)
 	    cmodein |= ENABLE_MOUSE_INPUT;
 #endif
-	cmodeout &= ~(ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT);
+	cmodeout &= ~(
+#if !defined(FEAT_GUI) && defined(FEAT_TERMGUICOLORS)
+	    /* Do not turn off when using VCON */
+	    ((has_vcon) ? 0 : ENABLE_PROCESSED_OUTPUT) |
+#endif

It looks the mask value is changed when FEAT_TERMGUICOLORS is not defined.
Additionally, I don't think !defined(FEAT_GUI) is needed, because this part is inside #ifndef FEAT_GUI_W32.
Shouldn't be as follows?

	cmodeout &= ~(
#ifdef FEAT_TERMGUICOLORS
	    /* Do not turn off the ENABLE_PROCESSED_OUTPUT flag when using
	     * VCON. */
	    ((has_vcon) ? 0 : ENABLE_PROCESSED_OUTPUT) |
#else
	    ENABLE_PROCESSED_OUTPUT |
#endif

Nobuhiro Takasaki

unread,
Nov 8, 2017, 9:43:01 AM11/8/17
to vim/vim, Subscribed

I was doing other things. I will look it now.

Parker Snell

unread,
Nov 8, 2017, 1:47:26 PM11/8/17
to vim/vim, Subscribed

I've been using this patch for a while, overall it works great. The only issue I've found is the first time I press tab in the ex command line, the text flashes on the screen and then turns invisible. After that if I keep pressing tab, the rest of the completions are visible, it's only the first one that's a problem. This happens regardless of colorscheme and whether an actual completion exists - e.g. :asdfasdf<tab> is invisible, but :asdfasdf<tab><tab> shows up.

Parker Snell

unread,
Nov 8, 2017, 1:47:46 PM11/8/17
to vim/vim, Subscribed

Nobuhiro Takasaki

unread,
Nov 8, 2017, 6:10:22 PM11/8/17
to vim/vim, Push

@ntak pushed 1 commit.

  • b953609 Fix scroll up one line when reversing the screen


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 8, 2017, 6:13:10 PM11/8/17
to vim/vim, Subscribed

I redrawn the command line.


You are receiving this because you are subscribed to this thread.

Parker Snell

unread,
Nov 8, 2017, 6:14:34 PM11/8/17
to vim/vim, Subscribed

Awesome, that fixed it. Other than that I've been using this for a while with no issues 😃.

K.Takata

unread,
Nov 8, 2017, 6:42:38 PM11/8/17
to vim/vim, Subscribed

@ntak Could you include this patch? (Only cosmetic changes.)
https://bitbucket.org/k_takata/vim-ktakata-mq/src/fecb750f5391afa28527aee91efb914ba55d1a91/2060-3.diff?at=default&fileviewer=file-view-default

  • Fix #ifdef indentation.
  • Use FEAT_GUI_W32 instead of FEAT_GUI in os_win32.c. FEAT_GUI_W32 is used more than FEAT_GUI in os_win32.c.
  • Don't break a line in each function declaration if the function doesn't have any parameters.

K.Takata

unread,
Nov 8, 2017, 6:58:54 PM11/8/17
to vim/vim, Subscribed

I also wondering what Vim should do if tgc is set on an older Windows which doesn't support virtual terminal processing.
I think that the display turns black and white in that case. Don't think most people want this. Should we avoid 'tgc' being turned on on such environment?

Nobuhiro Takasaki

unread,
Nov 8, 2017, 7:08:35 PM11/8/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 8, 2017, 7:13:03 PM11/8/17
to vim/vim, Subscribed

It applied. Thank you very much.


You are receiving this because you are subscribed to this thread.

Nobuhiro Takasaki

unread,
Nov 8, 2017, 9:10:52 PM11/8/17
to vim/vim, Subscribed

If tgc is specified and there is no change, the user thinks it is a bug. maybe.
It is better to display black and white than to display status and errors. maybe again.

When using another terminal, is it different from .vimrc?

Nobuhiro Takasaki

unread,
Nov 8, 2017, 9:20:28 PM11/8/17
to vim/vim, Subscribed

Well, it seems to be a bug in black and white.
However, I want to select black and white, same as without this patch.

Nobuhiro Takasaki

unread,
Nov 8, 2017, 11:05:00 PM11/8/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 4b1446c Correct handling of SGR sequence


You are receiving this because you are subscribed to this thread.

View it on GitHub

K.Takata

unread,
Nov 9, 2017, 12:03:13 AM11/9/17
to vim/vim, Subscribed

I agree that users might be confused when they set 'tgc' but the display isn't changed at all.
However I also think that the users don't want black and white display when virtual terminal processing is not supported.
Therefore my suggestion is that showing an error message and keeping 'tgc' unset, when users try to set 'tgc' and if VTP is not supported. This behavior is different from that on Unix, but I believe this is acceptable.

If users wanted to set 'tgc' only if it is available, they can write silent! set tgc in their .vimrc.


You are receiving this because you are subscribed to this thread.

Nobuhiro Takasaki

unread,
Nov 9, 2017, 2:42:56 AM11/9/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 7d91352 Fixed case that was fotgotten: has_vtp=OFF && p_tgc=ON


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 9, 2017, 2:59:07 AM11/9/17
to vim/vim, Subscribed

I am confused. I will fix it again. Please wait for a while.


You are receiving this because you are subscribed to this thread.

Nobuhiro Takasaki

unread,
Nov 9, 2017, 5:57:48 AM11/9/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 517d3cc Source code cosmetics again


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 9, 2017, 6:02:08 AM11/9/17
to vim/vim, Subscribed

I logically went round and returned. After all, there is no change. I will proceed as it is.


You are receiving this because you are subscribed to this thread.

Nobuhiro Takasaki

unread,
Nov 9, 2017, 7:02:24 AM11/9/17
to vim/vim, Push

@ntak pushed 1 commit.

  • 82a3ac4 Do not turn on 'tgc' when 24-bit colors are not supported


You are receiving this because you are subscribed to this thread.

View it on GitHub

K.Takata

unread,
Nov 9, 2017, 7:58:59 AM11/9/17
to vim/vim, Subscribed

@ntak Thank you for your great work. I think now it's almost okay. The remaining item is the document.
The error number should be added in it. My proposal is as follows:

--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7832,7 +7832,7 @@ A jump table for the options with a shor
 		:set encoding=utf-8
 <	You need to do this when your system has no locale support for UTF-8.
 
-						*'termguicolors'* *'tgc'*
+					*'termguicolors'* *'tgc'* *Exxx*
 'termguicolors' 'tgc'	boolean (default off)
 			global
 			{not in Vi}
@@ -7840,7 +7840,8 @@ A jump table for the options with a shor
 			|+termguicolors| feature}
 	When on, uses |highlight-guifg| and |highlight-guibg| attributes in
 	the terminal (thus using 24-bit color). Requires a ISO-8613-3
-	compatible terminal.
+	compatible terminal.  For Win32 console, Windows 10 version 1703
+	(Creators Update) or later is required.
 	If setting this option does not work (produces a colorless UI)
 	reading |xterm-true-color| might help.
 	Note that the "cterm" attributes are still used, not the "gui" ones.


You are receiving this because you are subscribed to this thread.

Nobuhiro Takasaki

unread,
Nov 9, 2017, 9:40:45 AM11/9/17
to vim/vim, Push

@ntak pushed 1 commit.


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 9, 2017, 9:58:50 AM11/9/17
to vim/vim, Subscribed

Thank you very much for everything!
I used it without changing the proposal.
It was difficult with my ability.

I will fix bugs only. My greeting was delayed. I'm sorry. How about with this patch, Bram?


You are receiving this because you are subscribed to this thread.

Bram Moolenaar

unread,
Nov 9, 2017, 12:11:44 PM11/9/17
to vim/vim, Subscribed

Do you mean all known problems have been taken care of, ready to include the patch?

Nobuhiro Takasaki

unread,
Nov 9, 2017, 6:16:06 PM11/9/17
to vim/vim, Subscribed

That's right! I'm ready.
I made a lot of major changes, but I arrived.
Especially, there was help of @k-takata .
Please write my name with him.

Nobuhiro Takasaki

unread,
Nov 10, 2017, 8:26:30 PM11/10/17
to vim/vim, Push

@ntak pushed 1 commit.

  • d684517 Redraw on the right edge of the screen


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 10, 2017, 8:39:35 PM11/10/17
to vim/vim, Subscribed

The problem is that API scrolling does not transfer color attributes on the right edge of the screen.
The solution is to write the right end again.
I'm sorry. This is the last fix.


You are receiving this because you are subscribed to this thread.

K.Takata

unread,
Nov 10, 2017, 10:00:00 PM11/10/17
to vim/vim, Subscribed

@ntak I found two additional problems.

  • The background become gray when executed by vim --clean --cmd "colorscheme desert", even tgc is not set.
  • AppVeyor fails because :set tgc causes error on it (as we implemented so). I think we can simply skip this. (Coverage will decrease, though.)

I wrote patches for them in vim-jp. Please check them.

Nobuhiro Takasaki

unread,
Nov 11, 2017, 5:37:10 AM11/11/17
to vim/vim, Push

@ntak pushed 2 commits.

  • d032362 Add missing USE_VTP
  • cbb7948 Skip the termguicolor test for AppVeyor testing


You are receiving this because you are subscribed to this thread.

View it on GitHub

Nobuhiro Takasaki

unread,
Nov 11, 2017, 5:43:51 AM11/11/17
to vim/vim, Subscribed

Thank you @k-takata ! Always sorry.

I feel that I am very light.
I will not say that it is the last.


You are receiving this because you are subscribed to this thread.

K.Takata

unread,
Nov 11, 2017, 9:44:20 AM11/11/17
to vim/vim, Subscribed

I think this is ready to be included.

K.Takata

unread,
Nov 16, 2017, 11:42:31 PM11/16/17
to vim/vim, Subscribed

Note: The error number E949 is now used in 8.0.1300. So the number used in this PR should be updated when it is merged.

@ntak Normally, Bram updates the error number by himself. So, contributors can use Exxx (or something) as a placeholder. (No need to update this only for changing the error number.)

Nobuhiro Takasaki

unread,
Feb 6, 2018, 6:30:57 AM2/6/18
to vim/vim, Subscribed

I am browsing this page every day...
What is going on...
What is not going on...
What should I do...

Reply all
Reply to author
Forward
0 new messages