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]) diff --git a/src/build/SharedDeps.zig b/src/build/SharedDeps.zig index 785830ab9..dfa676bba 100644 --- a/src/build/SharedDeps.zig +++ b/src/build/SharedDeps.zig @@ -692,7 +692,7 @@ fn addGtkNg( } } -/// Add only the dependencies required for `Config.simd` enbled. This also +/// Add only the dependencies required for `Config.simd` enabled. This also /// adds all the simd source files for compilation. pub fn addSimd( b: *std.Build, diff --git a/src/renderer/generic.zig b/src/renderer/generic.zig index 802c769a6..d66a32286 100644 --- a/src/renderer/generic.zig +++ b/src/renderer/generic.zig @@ -184,7 +184,7 @@ pub fn Renderer(comptime GraphicsAPI: type) type { /// Background image, if we have one. bg_image: ?imagepkg.Image = null, - /// Set whenever the background image changes, singalling + /// Set whenever the background image changes, signalling /// that the new background image needs to be uploaded to /// the GPU. /// diff --git a/src/stb/stb_image.h b/src/stb/stb_image.h index 3ae1815c1..ed7791dff 100644 --- a/src/stb/stb_image.h +++ b/src/stb/stb_image.h @@ -6831,7 +6831,7 @@ static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, i // 0: not specified. } - // background is what out is after the undoing of the previou frame; + // background is what out is after the undoing of the previous frame; memcpy( g->background, g->out, 4 * g->w * g->h ); }