From d0d5af28bd64ce74bf67f314db54f9d3e2fff73d Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 27 Aug 2026 14:20:38 +0200 Subject: Copy with WM_COPY only; do not inject Ctrl+C. 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. --- config.def.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'config.def.h') 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", -}; -- cgit v1.2.3