summaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2025-10-03 18:47:47 +0200
committerAndreas Deininger <andreas@deininger.net>2025-10-03 18:52:26 +0200
commita667b740eefb03962b69f238a10d539791120112 (patch)
treef212ae9414a3d997810878aa823d9b202b48a43f /macos
parentf99a6846bcf435d07c2376e546c855be5756ee28 (diff)
Fix typos
Diffstat (limited to 'macos')
-rw-r--r--macos/Sources/Features/Splits/TerminalSplitTreeView.swift2
-rw-r--r--macos/Sources/Ghostty/SurfaceView_AppKit.swift2
2 files changed, 2 insertions, 2 deletions
diff --git a/macos/Sources/Features/Splits/TerminalSplitTreeView.swift b/macos/Sources/Features/Splits/TerminalSplitTreeView.swift
index f19640707..6b8171ff5 100644
--- a/macos/Sources/Features/Splits/TerminalSplitTreeView.swift
+++ b/macos/Sources/Features/Splits/TerminalSplitTreeView.swift
@@ -12,7 +12,7 @@ struct TerminalSplitTreeView: View {
onResize: onResize)
// This is necessary because we can't rely on SwiftUI's implicit
// structural identity to detect changes to this view. Due to
- // the tree structure of splits it could result in bad beaviors.
+ // the tree structure of splits it could result in bad behaviors.
// See: https://github.com/ghostty-org/ghostty/issues/7546
.id(node.structuralIdentity)
}
diff --git a/macos/Sources/Ghostty/SurfaceView_AppKit.swift b/macos/Sources/Ghostty/SurfaceView_AppKit.swift
index 22784d164..2b3fd261c 100644
--- a/macos/Sources/Ghostty/SurfaceView_AppKit.swift
+++ b/macos/Sources/Ghostty/SurfaceView_AppKit.swift
@@ -1027,7 +1027,7 @@ extension Ghostty {
// If we are in a keyDown then we don't need to redispatch a command-modded
// key event (see docs for this field) so reset this to nil because
- // `interpretKeyEvents` may dispach it.
+ // `interpretKeyEvents` may dispatch it.
self.lastPerformKeyEvent = nil
self.interpretKeyEvents([translationEvent])