Update code to newest version
This commit is contained in:
parent
9726db9903
commit
64bcd6cb5d
3
FAQ
3
FAQ
|
@ -248,3 +248,6 @@ fonts:
|
||||||
|
|
||||||
Please don't bother reporting this bug to st, but notify the upstream Xft
|
Please don't bother reporting this bug to st, but notify the upstream Xft
|
||||||
developers about fixing this bug.
|
developers about fixing this bug.
|
||||||
|
|
||||||
|
As of 2022-09-05 this now seems to be finally fixed in libXft 2.3.5:
|
||||||
|
https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS
|
||||||
|
|
21
config.def.h
21
config.def.h
|
@ -6,7 +6,7 @@
|
||||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FONTSIZE "14"
|
#define FONTSIZE "24"
|
||||||
|
|
||||||
static char *font = "Ubuntu Mono:pixelsize="FONTSIZE":antialias=true:autohint=true";
|
static char *font = "Ubuntu Mono:pixelsize="FONTSIZE":antialias=true:autohint=true";
|
||||||
static char *font2[] = {
|
static char *font2[] = {
|
||||||
|
@ -142,13 +142,20 @@ unsigned int defaultcs = 256;
|
||||||
static unsigned int defaultrcs = 257;
|
static unsigned int defaultrcs = 257;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
|
||||||
* 2: Block ("█")
|
* Default style of cursor
|
||||||
* 4: Underline ("_")
|
* 0: blinking block
|
||||||
* 6: Bar ("|")
|
* 1: blinking block (default)
|
||||||
* 7: Snowman ("☃")
|
* 2: steady block ("█")
|
||||||
|
* 3: blinking underline
|
||||||
|
* 4: steady underline ("_")
|
||||||
|
* 5: blinking bar
|
||||||
|
* 6: steady bar ("|")
|
||||||
|
* 7: blinking st cursor
|
||||||
|
* 8: steady st cursor
|
||||||
*/
|
*/
|
||||||
static unsigned int cursorshape = 2;
|
static unsigned int cursorshape = 1;
|
||||||
|
static Rune stcursor = 0x2603; /* snowman ("☃") */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default columns and rows numbers
|
* Default columns and rows numbers
|
||||||
|
|
2
config.h
2
config.h
|
@ -6,7 +6,7 @@
|
||||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FONTSIZE "14"
|
#define FONTSIZE "24"
|
||||||
|
|
||||||
static char *font = "Ubuntu Mono:pixelsize="FONTSIZE":antialias=true:autohint=true";
|
static char *font = "Ubuntu Mono:pixelsize="FONTSIZE":antialias=true:autohint=true";
|
||||||
static char *font2[] = {
|
static char *font2[] = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# st version
|
# st version
|
||||||
VERSION = 0.8.5
|
VERSION = bit_1.0
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
|
2
st.c
2
st.c
|
@ -956,7 +956,7 @@ ttyresize(int tw, int th)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ttyhangup()
|
ttyhangup(void)
|
||||||
{
|
{
|
||||||
/* Send SIGHUP to shell */
|
/* Send SIGHUP to shell */
|
||||||
kill(pid, SIGHUP);
|
kill(pid, SIGHUP);
|
||||||
|
|
1
x.c
1
x.c
|
@ -258,6 +258,7 @@ static char *opt_name = NULL;
|
||||||
static char *opt_title = NULL;
|
static char *opt_title = NULL;
|
||||||
|
|
||||||
static uint buttons; /* bit field of pressed buttons */
|
static uint buttons; /* bit field of pressed buttons */
|
||||||
|
static int cursorblinks = 0;
|
||||||
|
|
||||||
void
|
void
|
||||||
clipcopy(const Arg *dummy)
|
clipcopy(const Arg *dummy)
|
||||||
|
|
Loading…
Reference in New Issue