From 182cb35bae0f7dc45cb6f98374a6babf42e73401 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 12 Dec 2025 14:15:43 -0800 Subject: [PATCH] core: remove readonly check --- src/Surface.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Surface.zig b/src/Surface.zig index 45b629865..a3b306fef 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -2592,12 +2592,6 @@ pub fn keyCallback( if (insp_ev) |*ev| ev else null, )) |v| return v; - // If the surface is in read-only mode, we consume the key event here - // without sending it to the PTY. - if (self.readonly) { - return .consumed; - } - // If we allow KAM and KAM is enabled then we do nothing. if (self.config.vt_kam_allowed) { self.renderer_state.mutex.lock();