osc: add option to disable OSC-52, partially or fully

Closes #1867
This commit is contained in:
Daniel Eklöf 2024-12-21 06:52:00 +01:00
parent 67bd5dd460
commit e38ec79be1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 99 additions and 1 deletions

View file

@ -173,6 +173,15 @@ struct config {
bool box_drawings_uses_font_glyphs;
bool can_shape_grapheme;
struct {
enum {
OSC52_DISABLED,
OSC52_COPY_ENABLED,
OSC52_PASTE_ENABLED,
OSC52_ENABLED,
} osc52;
} security;
struct {
bool urgent;
bool notify;