Vim Tips Wiki
Advertisement

Use this page to discuss script 1349 Colortest: xterm 256 color test and visual colors list

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Bugs[]

A minor bug is present at the end of the script (version: 0.1, date: 2005-09-12), where the color is reset: a '[' is missing, so an 'm' is printed.

Original version:

print "^[0m";

Corrected version:

print "^[[0m";

Note: "^[" is CTRL-V + Esc. --February 28, 2013

Comments[]

Advertisement