mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 07:16:12 +00:00
start input, its broken but we're getting there
This commit is contained in:
@@ -96,6 +96,13 @@ class TerminalSurfaceView_Real: NSView, ObservableObject {
|
||||
|
||||
override func keyDown(with event: NSEvent) {
|
||||
print("Key down: \(event)")
|
||||
|
||||
if let surface = self.surface {
|
||||
if (event.keyCode == 36) {
|
||||
ghostty_surface_key(surface, press, enter, 0)
|
||||
}
|
||||
}
|
||||
|
||||
self.interpretKeyEvents([event])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user