diff options
Diffstat (limited to 'src/ghostty/mod.rs')
| -rw-r--r-- | src/ghostty/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghostty/mod.rs b/src/ghostty/mod.rs index 55bafebc..e236b36f 100644 --- a/src/ghostty/mod.rs +++ b/src/ghostty/mod.rs @@ -797,6 +797,9 @@ impl KeyEncoder { } } +// SAFETY: the opaque encoder handle is only used behind external synchronization in pane runtime. +unsafe impl Send for KeyEncoder {} + impl Drop for KeyEncoder { fn drop(&mut self) { unsafe { ffi::ghostty_key_encoder_free(self.raw) } |
