mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-28 17:14:39 +00:00
core: remove readonly check
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user