Merge branch 'master' of git.rustybever.be:Chewing_Bever/st

master
Jef Roosens 2022-03-05 10:30:45 +01:00
commit 14a8129b39
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
4 changed files with 1663 additions and 1851 deletions

View File

@ -1,6 +1,6 @@
MIT/X Consortium License MIT/X Consortium License
© 2014-2020 Hiltjo Posthuma <hiltjo at codemadness dot org> © 2014-2022 Hiltjo Posthuma <hiltjo at codemadness dot org>
© 2018 Devin J. Pohly <djpohly at gmail dot com> © 2018 Devin J. Pohly <djpohly at gmail dot com>
© 2014-2017 Quentin Rameau <quinq at fifth dot space> © 2014-2017 Quentin Rameau <quinq at fifth dot space>
© 2009-2012 Aurélien APTEL <aurelien dot aptel at gmail dot com> © 2009-2012 Aurélien APTEL <aurelien dot aptel at gmail dot com>

View File

@ -1,8 +1,8 @@
# Maintainer: Jef Roosens # Maintainer: Jef Roosens
pkgname=jjr-st pkgname=jjr-st
pkgver=0.8.6 pkgver=0.8.7
pkgrel=3 pkgrel=1
pkgdesc="My build of the st terminal" pkgdesc="My build of the st terminal"
arch=("x86_64") arch=("x86_64")
@ -14,7 +14,9 @@ makedepends=("clang")
provides=("st") provides=("st")
conflicts=("st" "st-git") conflicts=("st" "st-git")
source=("arg.h" "boxdraw.c" "boxdraw_data.h" "config.def.h" "config.h" "config.mk" "hb.c" "hb.h" "LICENSE" "Makefile" "st.1" "st.c" "st.h" "st.info" "win.h" "x.c" "README") source=("arg.h" "boxdraw.c" "boxdraw_data.h" "config.def.h" "config.h"
"config.mk" "hb.c" "hb.h" "LICENSE" "Makefile" "st.1" "st.c" "st.h" "st.info"
"win.h" "x.c" "README")
md5sums=('7a0155e070d14041f69ca4466aad18bf' md5sums=('7a0155e070d14041f69ca4466aad18bf'
'67a7923385b308ab714a66a81e2803f5' '67a7923385b308ab714a66a81e2803f5'
'54322cef62604ce8c288b3d2d20f1baa' '54322cef62604ce8c288b3d2d20f1baa'
@ -23,14 +25,14 @@ md5sums=('7a0155e070d14041f69ca4466aad18bf'
'ad217c165bd7a52f3335ded5e863c509' 'ad217c165bd7a52f3335ded5e863c509'
'f6fcbd03c6f1013e4f592278bf96086d' 'f6fcbd03c6f1013e4f592278bf96086d'
'704b67624d026f76577ce51d021ef00a' '704b67624d026f76577ce51d021ef00a'
'04c3ca13a702147c62db90f556c5b3ca' '703e9835709f45ee7b81082277f1daec'
'84025d924d1ddf176f8dc028bc5f6453' '84025d924d1ddf176f8dc028bc5f6453'
'bafec1da6c9f80fffd25dd5a85004b42' 'bafec1da6c9f80fffd25dd5a85004b42'
'ef77a180cc99be9226e8296e5ae3ada5' 'dde058f89688f3039f8d3809c7b36c5d'
'4f1e1612b1e43442b34bb0fb44254af0' '4f1e1612b1e43442b34bb0fb44254af0'
'0cbfe790d927cce15ae8e658de03f8aa' '0cbfe790d927cce15ae8e658de03f8aa'
'ab9cbb2f172fd88c3c0d8a87eb7bd666' 'ab9cbb2f172fd88c3c0d8a87eb7bd666'
'63ed863d96f9571cbdb50664b3e70001' 'cf03cbcdf728f24bb276f67dca5ed3fd'
'd344c31a3b60c2a3ba1c84b914dd2509') 'd344c31a3b60c2a3ba1c84b914dd2509')
build() { build() {

8
st.c
View File

@ -1997,7 +1997,7 @@ strhandle(void)
else if (xsetcolorname(defaultfg, p)) else if (xsetcolorname(defaultfg, p))
fprintf(stderr, "erresc: invalid foreground color: %s\n", p); fprintf(stderr, "erresc: invalid foreground color: %s\n", p);
else else
redraw(); tfulldirt();
return; return;
case 11: case 11:
if (narg < 2) if (narg < 2)
@ -2010,7 +2010,7 @@ strhandle(void)
else if (xsetcolorname(defaultbg, p)) else if (xsetcolorname(defaultbg, p))
fprintf(stderr, "erresc: invalid background color: %s\n", p); fprintf(stderr, "erresc: invalid background color: %s\n", p);
else else
redraw(); tfulldirt();
return; return;
case 12: case 12:
if (narg < 2) if (narg < 2)
@ -2023,7 +2023,7 @@ strhandle(void)
else if (xsetcolorname(defaultcs, p)) else if (xsetcolorname(defaultcs, p))
fprintf(stderr, "erresc: invalid cursor color: %s\n", p); fprintf(stderr, "erresc: invalid cursor color: %s\n", p);
else else
redraw(); tfulldirt();
return; return;
case 4: /* color set */ case 4: /* color set */
if (narg < 3) if (narg < 3)
@ -2045,7 +2045,7 @@ strhandle(void)
* TODO if defaultbg color is changed, borders * TODO if defaultbg color is changed, borders
* are dirty * are dirty
*/ */
redraw(); tfulldirt();
} }
return; return;
} }

716
x.c

File diff suppressed because it is too large Load Diff