Vim Tips Wiki
(Added Bugs section)
 
(Standard format.)
 
Line 1: Line 1:
  +
{{ScriptComments|Colortest: xterm 256 color test and visual colors list}}
== Bugs ==
 
  +
 
==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.
 
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.
   
Line 11: Line 13:
 
</pre>
 
</pre>
   
Note: "^[" is CTRL-V + Esc.
+
Note: "^[" is CTRL-V + Esc. --February 28, 2013
  +
  +
==Comments==

Latest revision as of 11:23, 1 March 2013

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