fix(typos): correct spelling mistakes
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 52s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 52s
This commit is contained in:
@@ -17,7 +17,7 @@ const log = std.log.scoped(.app);
|
|||||||
///
|
///
|
||||||
/// _R_ is the type function for the `Renderer` to use. The parameter boolean
|
/// _R_ is the type function for the `Renderer` to use. The parameter boolean
|
||||||
/// will be set to the _fullscreen_ value at compile time. The corresponding
|
/// will be set to the _fullscreen_ value at compile time. The corresponding
|
||||||
/// `Renderer` type is accessable through the generated type of this function.
|
/// `Renderer` type is accessible through the generated type of this function.
|
||||||
///
|
///
|
||||||
/// _fullscreen_ will be used to configure the `App` and the `Renderer` to
|
/// _fullscreen_ will be used to configure the `App` and the `Renderer` to
|
||||||
/// respect the corresponding configuration whether to render a fullscreen tui
|
/// respect the corresponding configuration whether to render a fullscreen tui
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ pub fn mergeTaggedUnions(comptime A: type, comptime B: type) type {
|
|||||||
} });
|
} });
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine at `comptime` wether the provided type `E` is an `union(enum)`.
|
// Determine at `comptime` whether the provided type `E` is an `union(enum)`.
|
||||||
pub fn isTaggedUnion(comptime E: type) bool {
|
pub fn isTaggedUnion(comptime E: type) bool {
|
||||||
switch (@typeInfo(E)) {
|
switch (@typeInfo(E)) {
|
||||||
.Union => |u| {
|
.Union => |u| {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ pub fn Widget(comptime Event: type) type {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: import and export of `Widget` implementations (with corresponding intialization using `Event`)
|
// TODO: import and export of `Widget` implementations (with corresponding initialization using `Event`)
|
||||||
pub const RawText = @import("widget/RawText.zig").Widget(Event);
|
pub const RawText = @import("widget/RawText.zig").Widget(Event);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user