diff options
| author | jvoisin <julien.voisin@dustri.org> | 2022-02-27 15:29:35 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-06 17:25:43 +0000 |
| commit | 58a1ffe72483ffb52d617d2985851781e82a45b8 (patch) | |
| tree | 5514c7ef7eea532a1f6d37e5a0f3af3502991308 /dcs.c | |
| parent | osc: avoid unnecessary calls to strlen(3) (diff) | |
config: add tweak option to allow disabling sixels
Closes #950
Diffstat (limited to 'dcs.c')
| -rw-r--r-- | dcs.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -420,6 +420,9 @@ dcs_hook(struct terminal *term, uint8_t final) case 0: switch (final) { case 'q': { + if (!term->conf->tweak.sixel) { + break; + } int p1 = vt_param_get(term, 0, 0); int p2 = vt_param_get(term, 1,0); int p3 = vt_param_get(term, 2, 0); |
