mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00

There are still problems linking due to `gettext`. No idea if this actually _works_ on Windows. File locking had to be disabled on Windows because of a bug in the Zig std library. Adding all of the explicit error sets happened due to disabling file locking. Fixing permissions had to be disabled on Windows as the Windows file system does not support permissions in the way that POSIX systems like macOS and Linux do.
Subcommand Actions
This is the cli specific code. It contains cli actions and tui definitions and argument parsing.
This README is meant as developer documentation and not as user documentation. For user documentation, see the main README or ghostty.org.
Updating documentation
Each cli action is defined in it's own file. Documentation for each action is defined
in the doc comment associated with the run
function. For example the run
function
in list_keybinds.zig
contains the help text for ghostty +list-keybinds
.