How to color the Prompt string all to other than white ?

Here's an example of a coloured prompt string;
Code:
prompt $E[1A$E[97;44mTCC  $p$g

From the ANSI X3.64 Command Reference;

<ESC>[rowsACursor up by rows (default is 1)
97107Bright white
3444Blue

$E[1A = Cursor up 1 row
$E[97;44m = Change colour to Bright White on a Blue background
TCC = Any text that you want

This is from the help for the Prompt Command;
pCurrent drive and directory (lower case).
gThe > character.

$p$g = Current drive and directory (lower case), and the > character.

Joe
 
Friendly reminder that ANSI must be enabled for the previous to work.

1581190564420.png


Joe
 

Similar threads