summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorbryan <bryan@veltar.systems>2026-08-27 14:20:38 +0200
committerbryan <bryan@veltar.systems>2026-08-27 14:20:38 +0200
commitd0d5af28bd64ce74bf67f314db54f9d3e2fff73d (patch)
treeb52d80ae7464763c8fbe65e1eb4681c9feda5d46 /config.def.h
parentf92c62127cdbe6fb0831e911c5c6dc2b5db7a7c4 (diff)
downloadselc-master.tar.gz
selc-master.zip
Copy with WM_COPY only; do not inject Ctrl+C.HEADmaster
SendInput of Ctrl+C typed a stray c or sent SIGINT into Alacritty and Zed. Those apps ignore WM_COPY, so they are left alone.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/config.def.h b/config.def.h
index 357bcba..14d2fc1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,13 +10,3 @@ enum {
KEYSEL = 1, /* copy on shift+arrows/home/end/pgup/pgdn */
CTRLA = 0 /* copy after Ctrl+A; 0: Explorer would copy files */
};
-
-/*
- * Root window classes that must not receive injected Ctrl+C.
- * WM_COPY is still tried. Console hosts treat Ctrl+C as interrupt.
- */
-static const char *nocctrlc[] = {
- "ConsoleWindowClass",
- "CASCADIA_HOSTING_WINDOW_CLASS",
- "mintty",
-};