mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Merge pull request #2448 from rcalixte/quick_typos
list_fonts and list_keybinds: Fix typos in documentation
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -227,7 +227,7 @@ jobs:
|
|||||||
nix develop -c zig build -Dapp-runtime=glfw -Drenderer=metal -Dfont-backend=coretext_noshape
|
nix develop -c zig build -Dapp-runtime=glfw -Drenderer=metal -Dfont-backend=coretext_noshape
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
# this will not stop other jobs from running
|
# this will not stop other jobs from running
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
needs: test
|
needs: test
|
||||||
@ -248,13 +248,13 @@ jobs:
|
|||||||
$zigVersion = [regex]::Match($fileContent, $pattern).Groups[1].Value
|
$zigVersion = [regex]::Match($fileContent, $pattern).Groups[1].Value
|
||||||
Write-Output $version
|
Write-Output $version
|
||||||
$version = "zig-windows-x86_64-$zigVersion"
|
$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"
|
Invoke-WebRequest -Uri "$uri" -OutFile ".\zig-windows.zip"
|
||||||
Expand-Archive -Path ".\zig-windows.zip" -DestinationPath ".\" -Force
|
Expand-Archive -Path ".\zig-windows.zip" -DestinationPath ".\" -Force
|
||||||
Remove-Item -Path ".\zig-windows.zip"
|
Remove-Item -Path ".\zig-windows.zip"
|
||||||
Rename-Item -Path ".\$version" -NewName ".\zig"
|
Rename-Item -Path ".\$version" -NewName ".\zig"
|
||||||
Write-Host "Zig installed."
|
Write-Host "Zig installed."
|
||||||
./zig/zig.exe version
|
.\zig\zig.exe version
|
||||||
|
|
||||||
- name: Generate build testing script
|
- name: Generate build testing script
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
@ -51,7 +51,7 @@ pub const Config = struct {
|
|||||||
///
|
///
|
||||||
/// The `--bold` and `--italic` arguments can be used to filter results to
|
/// The `--bold` and `--italic` arguments can be used to filter results to
|
||||||
/// specific styles. It is not guaranteed that only those styles are returned,
|
/// 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 {
|
pub fn run(alloc: Allocator) !u8 {
|
||||||
var iter = try std.process.argsWithAllocator(alloc);
|
var iter = try std.process.argsWithAllocator(alloc);
|
||||||
defer iter.deinit();
|
defer iter.deinit();
|
||||||
|
@ -46,7 +46,7 @@ pub const Options = struct {
|
|||||||
/// for Ghostty
|
/// for Ghostty
|
||||||
///
|
///
|
||||||
/// The `--plain` flag will disable formatting and make the output more
|
/// 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 {
|
pub fn run(alloc: Allocator) !u8 {
|
||||||
var opts: Options = .{};
|
var opts: Options = .{};
|
||||||
defer opts.deinit();
|
defer opts.deinit();
|
||||||
|
Reference in New Issue
Block a user