mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-14 05:46:17 +00:00
Fix typos
This commit is contained in:
@@ -12,7 +12,7 @@ struct TerminalSplitTreeView: View {
|
|||||||
onResize: onResize)
|
onResize: onResize)
|
||||||
// This is necessary because we can't rely on SwiftUI's implicit
|
// This is necessary because we can't rely on SwiftUI's implicit
|
||||||
// structural identity to detect changes to this view. Due to
|
// 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
|
// See: https://github.com/ghostty-org/ghostty/issues/7546
|
||||||
.id(node.structuralIdentity)
|
.id(node.structuralIdentity)
|
||||||
}
|
}
|
||||||
|
@@ -1027,7 +1027,7 @@ extension Ghostty {
|
|||||||
|
|
||||||
// If we are in a keyDown then we don't need to redispatch a command-modded
|
// 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
|
// 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.lastPerformKeyEvent = nil
|
||||||
|
|
||||||
self.interpretKeyEvents([translationEvent])
|
self.interpretKeyEvents([translationEvent])
|
||||||
|
@@ -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.
|
/// adds all the simd source files for compilation.
|
||||||
pub fn addSimd(
|
pub fn addSimd(
|
||||||
b: *std.Build,
|
b: *std.Build,
|
||||||
|
@@ -184,7 +184,7 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
|
|||||||
|
|
||||||
/// Background image, if we have one.
|
/// Background image, if we have one.
|
||||||
bg_image: ?imagepkg.Image = null,
|
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
|
/// that the new background image needs to be uploaded to
|
||||||
/// the GPU.
|
/// the GPU.
|
||||||
///
|
///
|
||||||
|
@@ -6831,7 +6831,7 @@ static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, i
|
|||||||
// 0: not specified.
|
// 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 );
|
memcpy( g->background, g->out, 4 * g->w * g->h );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user