Compare commits
17 commits
4c439e7b8e
...
b9939ae113
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9939ae113 | ||
|
|
3a062c2ba8 | ||
|
|
540ccc2b57 | ||
|
|
df11aae8c3 | ||
|
|
87c6c244c4 | ||
|
|
659b803a40 | ||
|
|
ccaedf3fe9 | ||
|
|
4194b515ee | ||
|
|
568f306b14 | ||
|
|
bedf74d2ad | ||
|
|
653e567b29 | ||
|
|
4d18a5e104 | ||
|
|
38dcc0e866 | ||
|
|
d17eac914f | ||
|
|
81a9b451e9 | ||
|
|
8ced61c5e3 | ||
|
|
1252a3d79d |
4 changed files with 2 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Similar to [dwm-flexipatch](https://github.com/bakkeby/dwm-flexipatch) this st 0.9.3 (688f70a, 2026-01-15) project has a different take on st patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched _and_ the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more.
|
||||
Similar to [dwm-flexipatch](https://github.com/bakkeby/dwm-flexipatch) this st 0.9.3 (6e97047, 2025-08-09) project has a different take on st patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched _and_ the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more.
|
||||
|
||||
For example to include the `alpha` patch then you would only need to flip this setting from 0 to 1 in [patches.h](https://github.com/bakkeby/st-flexipatch/blob/master/patches.def.h):
|
||||
```c
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
static char *font = "Cascadia Code NF:regular:pixelsize=13.5:fontfeatures=calt,ss01:antialias=true:autohint=true";
|
||||
#if FONT2_PATCH
|
||||
/* Spare fonts */
|
||||
static char *font2[] = { "emoji:pixelsize=13.5:antialias=true:autohint=true" };
|
||||
static char *font2[] = { "CaskaydiaCove Nerd Font:pixelsize=13.5:antialias=true:autohint=true" };
|
||||
#endif // FONT2_PATCH
|
||||
|
||||
#if BACKGROUND_IMAGE_PATCH
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@
|
|||
|
||||
devShell = pkgs.mkShell {
|
||||
inputsFrom = [ packages.st ];
|
||||
hardeningDisable = [ "fortify" ];
|
||||
packages = with pkgs; [
|
||||
bear
|
||||
clang-tools
|
||||
|
|
|
|||
9
st.c
9
st.c
|
|
@ -1102,9 +1102,6 @@ tsetdirt(int top, int bot)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (term.row <= 0)
|
||||
return;
|
||||
|
||||
LIMIT(top, 0, term.row-1);
|
||||
LIMIT(bot, 0, term.row-1);
|
||||
|
||||
|
|
@ -3335,7 +3332,6 @@ eschandle(uchar ascii)
|
|||
resettitle();
|
||||
xloadcols();
|
||||
xsetmode(0, MODE_HIDE);
|
||||
xsetmode(0, MODE_BRCKTPASTE);
|
||||
#if SCROLLBACK_PATCH && !REFLOW_PATCH
|
||||
if (!IS_SET(MODE_ALTSCREEN)) {
|
||||
term.scr = 0;
|
||||
|
|
@ -3470,11 +3466,6 @@ check_control_code:
|
|||
return;
|
||||
#if SIXEL_PATCH
|
||||
} else if (term.esc & ESC_DCS) {
|
||||
/* Skip if DCS escape sequence buffer is full */
|
||||
if (csiescseq.len >= sizeof(csiescseq.buf) - 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
csiescseq.buf[csiescseq.len++] = u;
|
||||
if (BETWEEN(u, 0x40, 0x7E)
|
||||
|| csiescseq.len >= \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue