1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
/*
* This file contains patch control flags.
*
* In principle you should be able to mix and match any patches
* you may want. In cases where patches are logically incompatible
* one patch may take precedence over the other as noted in the
* relevant descriptions.
*
* Kris Yotam's st build - patches enabled:
* - alpha (transparency)
* - anygeometry (dynamic borders)
* - blinking_cursor
* - boxdraw
* - clipboard
* - columns (prevent text cut on resize)
* - copyurl
* - externalpipe
* - font2 (fallback fonts)
* - iso14755 (unicode input)
* - ligatures (HarfBuzz)
* - newterm
* - scrollback + scrollback_mouse
* - sixel (NEW - image support for manga-tui)
* - swapmouse
* - sync
* - xresources + xresources_reload (live reload)
*/
/* Patches */
/* The alpha patch adds transparency for the terminal. */
#define ALPHA_PATCH 1
/* Alpha focus highlight - different opacity for focused/unfocused */
#define ALPHA_FOCUS_HIGHLIGHT_PATCH 0
/* Gradient transparency */
#define ALPHA_GRADIENT_PATCH 0
/* Initial size as pixel width/height using -G option */
#define ANYGEOMETRY_PATCH 1
/* Resize to any pixel size */
#define ANYSIZE_PATCH 1
/* Simple anysize variant */
#define ANYSIZE_SIMPLE_PATCH 0
/* Background image in farbfeld format */
#define BACKGROUND_IMAGE_PATCH 0
/* Background image reload on SIGUSR1 */
#define BACKGROUND_IMAGE_RELOAD_PATCH 0
/* Blinking cursor support */
#define BLINKING_CURSOR_PATCH 1
/* Bold is not bright */
#define BOLD_IS_NOT_BRIGHT_PATCH 0
/* Box drawing characters without font glyphs */
#define BOXDRAW_PATCH 1
/* Set CLIPBOARD on selection */
#define CLIPBOARD_PATCH 1
/* Resize without cutting off text */
#define COLUMNS_PATCH 1
/* Select and copy last URL with Mod+l */
#define COPYURL_PATCH 1
/* Copyurl with highlight */
#define COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH 0
/* CSI 22/23 support */
#define CSI_22_23_PATCH 0
/* Default cursor on escape sequence 0 */
#define DEFAULT_CURSOR_PATCH 0
/* Return BS on backspace, DEL on delete */
#define DELKEY_PATCH 0
/* Disable bold fonts */
#define DISABLE_BOLD_FONTS_PATCH 0
/* Disable italic fonts */
#define DISABLE_ITALIC_FONTS_PATCH 0
/* Disable roman fonts */
#define DISABLE_ROMAN_FONTS_PATCH 0
/* Drag and drop files */
#define DRAG_AND_DROP_PATCH 0
/* Dynamic cursor color */
#define DYNAMIC_CURSOR_COLOR_PATCH 0
/* Dynamic padding with anysize */
#define DYNAMIC_PADDING_PATCH 0
/* External pipe support */
#define EXTERNALPIPE_PATCH 1
/* External pipe in */
#define EXTERNALPIPEIN_PATCH 0
/* Fix keyboard input */
#define FIXKEYBOARDINPUT_PATCH 0
/* Secondary font support (emoji fallback) */
#define FONT2_PATCH 1
/* Fullscreen toggle */
#define FULLSCREEN_PATCH 0
/* Hide cursor on keypress */
#define HIDECURSOR_PATCH 0
/* Hide terminal cursor on unfocus */
#define HIDE_TERMINAL_CURSOR_PATCH 0
/* Invert colorscheme keybinding */
#define INVERT_PATCH 0
/* Unicode input via dmenu */
#define ISO14755_PATCH 1
/* Keyboard select */
#define KEYBOARDSELECT_PATCH 0
/* HarfBuzz ligature support */
#define LIGATURES_PATCH 1
/* Monochrome mode */
#define MONOCHROME_PATCH 0
/* Window icon from PNG */
#define NETWMICON_PATCH 0
/* Window icon from farbfeld */
#define NETWMICON_FF_PATCH 0
/* Window icon legacy */
#define NETWMICON_LEGACY_PATCH 0
/* Spawn new terminal in current directory */
#define NEWTERM_PATCH 1
/* No window decorations */
#define NO_WINDOW_DECORATIONS_PATCH 0
/* Open copied URL in browser */
#define OPENCOPIED_PATCH 0
/* Open selected text */
#define OPEN_SELECTED_TEXT_PATCH 0
/* Open URL on click */
#define OPENURLONCLICK_PATCH 0
/* OSC 7 working directory */
#define OSC7_PATCH 0
/* OSC 133 prompt jumping */
#define OSC133_PATCH 0
/* Text reflow on resize */
#define REFLOW_PATCH 0
/* Relative border size */
#define RELATIVEBORDER_PATCH 0
/* Right click to plumb */
#define RIGHTCLICKTOPLUMB_PATCH 0
/* Scrollback support */
#define SCROLLBACK_PATCH 1
/* Scrollback with mouse wheel + Shift */
#define SCROLLBACK_MOUSE_PATCH 1
/* Scrollback mouse in alt screen */
#define SCROLLBACK_MOUSE_ALTSCREEN_PATCH 1
/* Custom selection colors */
#define SELECTION_COLORS_PATCH 0
/* Selection background alpha */
#define SELECTIONBG_ALPHA_PATCH 0
/* Single drawable buffer for w3m */
#define SINGLE_DRAWABLE_BUFFER_PATCH 0
/* SIXEL graphics support - for manga-tui! */
#define SIXEL_PATCH 1
/* Embed applications into st */
#define ST_EMBEDDER_PATCH 0
/* Spoiler mode */
#define SPOILER_PATCH 0
/* Swap mouse shape in programs */
#define SWAPMOUSE_PATCH 1
/* Synchronized updates */
#define SYNC_PATCH 1
/* Themed cursor from Xcursor */
#define THEMED_CURSOR_PATCH 0
/* Undercurl/special underlines */
#define UNDERCURL_PATCH 0
/* Universal scroll */
#define UNIVERSCROLL_PATCH 0
/* Use XftFontMatch */
#define USE_XFTFONTMATCH_PATCH 0
/* Vertical center lines */
#define VERTCENTER_PATCH 0
/* Visual bell */
#define VISUALBELL_1_PATCH 0
/* W3M images - incompatible with SIXEL */
#define W3M_PATCH 0
/* Wide glyphs rendering */
#define WIDE_GLYPHS_PATCH 0
/* Wide glyph spacing fix */
#define WIDE_GLYPH_SPACING_PATCH 0
/* Working directory option */
#define WORKINGDIR_PATCH 0
/* Xresources support */
#define XRESOURCES_PATCH 1
/* Xresources reload on SIGUSR1 */
#define XRESOURCES_RELOAD_PATCH 1
/* Xdefaults support */
#define XRESOURCES_XDEFAULTS_PATCH 0