~lh2/st

ca0b8aef471e614c16ea3773c08386b641dad012 — Lukas Henkel 3 years ago 254feb2
Seperate bg and fg colors, change cursor
2 files changed, 9 insertions(+), 9 deletions(-)

M config.def.h
M config.h
M config.def.h => config.def.h +4 -4
@@ 139,10 139,10 @@ static const char *colorname[] = {
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 7;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
unsigned int defaultfg = 257;
unsigned int defaultbg = 256;
static unsigned int defaultcs = 257;
static unsigned int defaultrcs = 256;

/*
 * Default shape of cursor

M config.h => config.h +5 -5
@@ 139,10 139,10 @@ static const char *colorname[] = {
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 7;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
unsigned int defaultfg = 257;
unsigned int defaultbg = 256;
static unsigned int defaultcs = 257;
static unsigned int defaultrcs = 256;

/*
 * Default shape of cursor


@@ 151,7 151,7 @@ static unsigned int defaultrcs = 257;
 * 6: Bar ("|")
 * 7: Snowman ("☃")
 */
static unsigned int cursorshape = 2;
static unsigned int cursorshape = 6;

/*
 * Default columns and rows numbers