1 Commits

Author SHA1 Message Date
Fabian Schmidt
01d8e2cbe8 Add scroll 2020-05-23 12:58:32 +02:00
2 changed files with 21 additions and 21 deletions

View File

@@ -5,7 +5,7 @@
* *
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/ */
static char *font = "SauceCodePro Nerd Font Mono:pixelsize=15:antialias=true:autohint=true"; static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
static int borderpx = 2; static int borderpx = 2;
/* /*
@@ -19,7 +19,7 @@ static int borderpx = 2;
static char *shell = "/bin/sh"; static char *shell = "/bin/sh";
char *utmp = NULL; char *utmp = NULL;
/* scroll program: to enable use a string like "scroll" */ /* scroll program: to enable use a string like "scroll" */
char *scroll = NULL; char *scroll = "scroll";
char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400"; char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400";
/* identification sequence returned in DA and DECID */ /* identification sequence returned in DA and DECID */
@@ -34,7 +34,7 @@ static float chscale = 1.0;
* *
* More advanced example: L" `'\"()[]{}" * More advanced example: L" `'\"()[]{}"
*/ */
wchar_t *worddelimiters = L" `'\"()[]{}"; wchar_t *worddelimiters = L" ";
/* selection timeouts (in milliseconds) */ /* selection timeouts (in milliseconds) */
static unsigned int doubleclicktimeout = 300; static unsigned int doubleclicktimeout = 300;
@@ -87,29 +87,29 @@ char *termname = "st-256color";
* *
* stty tabs * stty tabs
*/ */
unsigned int tabspaces = 4; unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {
/* 8 normal colors */ /* 8 normal colors */
"#0c0d0e", "black",
"#e31a1c", "red3",
"#31a354", "green3",
"#dca060", "yellow3",
"#3182db", "blue2",
"#756bb1", "magenta3",
"#80b1d3", "cyan3",
"#b7b8b9", "gray90",
/* 8 bright colors */ /* 8 bright colors */
"#737475", "gray50",
"#e31a1c", "red",
"#31a354", "green",
"#dca060", "yellow",
"#3182db", "#5c5cff",
"#756bb1", "magenta",
"#80b1d3", "cyan",
"#fcfdfe", "white",
[255] = 0, [255] = 0,

View File

@@ -47,7 +47,7 @@ st-mono| simpleterm monocolor,
indn=\E[%p1%dS, indn=\E[%p1%dS,
invis=\E[8m, invis=\E[8m,
is2=\E[4l\E>\E[?1034l, is2=\E[4l\E>\E[?1034l,
it#4, it#8,
kel=\E[1;2F, kel=\E[1;2F,
ked=\E[1;5F, ked=\E[1;5F,
ka1=\E[1~, ka1=\E[1~,