Merge pull request #2448 from rcalixte/quick_typos

list_fonts and list_keybinds: Fix typos in documentation
This commit is contained in:
Mitchell Hashimoto
2024-10-17 06:57:21 -07:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@ -227,7 +227,7 @@ jobs:
nix develop -c zig build -Dapp-runtime=glfw -Drenderer=metal -Dfont-backend=coretext_noshape
build-windows:
runs-on: windows-2019
runs-on: windows-2022
# this will not stop other jobs from running
continue-on-error: true
needs: test
@ -248,13 +248,13 @@ jobs:
$zigVersion = [regex]::Match($fileContent, $pattern).Groups[1].Value
Write-Output $version
$version = "zig-windows-x86_64-$zigVersion"
$uri = "https://ziglang.org/builds/$version.zip"
$uri = "https://ziglang.org/download/$zigVersion/$version.zip"
Invoke-WebRequest -Uri "$uri" -OutFile ".\zig-windows.zip"
Expand-Archive -Path ".\zig-windows.zip" -DestinationPath ".\" -Force
Remove-Item -Path ".\zig-windows.zip"
Rename-Item -Path ".\$version" -NewName ".\zig"
Write-Host "Zig installed."
./zig/zig.exe version
.\zig\zig.exe version
- name: Generate build testing script
shell: pwsh

View File

@ -51,7 +51,7 @@ pub const Config = struct {
///
/// The `--bold` and `--italic` arguments can be used to filter results to
/// specific styles. It is not guaranteed that only those styles are returned,
/// it will just prioriiize fonts that match those styles.
/// it will just prioritize fonts that match those styles.
pub fn run(alloc: Allocator) !u8 {
var iter = try std.process.argsWithAllocator(alloc);
defer iter.deinit();

View File

@ -46,7 +46,7 @@ pub const Options = struct {
/// for Ghostty
///
/// The `--plain` flag will disable formatting and make the output more
/// friendly fro Unix tooling. This is default when not printing to a tty.
/// friendly for Unix tooling. This is default when not printing to a tty.
pub fn run(alloc: Allocator) !u8 {
var opts: Options = .{};
defer opts.deinit();