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