summaryrefslogtreecommitdiff
path: root/src/cli/list_keybinds.zig
AgeCommit message (Collapse)Author
2025-10-03Zig 0.15: zig build test Mitchell Hashimoto
2025-07-09cli: make the action parser (+foo) generic and reusableMitchell Hashimoto
2025-05-09apprt/glfw: buildsMitchell Hashimoto
2025-01-24Add chorded/sequenced keybinds to +list-keybinds outputDaniel Patterson
2025-01-23documentation: consistent format for actions helpAnund
2024-11-16port +list-keybinds to latest libvaxisfurtidev
2024-10-18cli: skip argv0 and actions when parsing CLI flagsMitchell Hashimoto
This fixes a regression from #2454. In that PR, we added an error when positional arguments are detected. I believe that's correct, but we were silently relying on the previous behavior in the CLI commands. This commit changes the CLI commands to use a new argsIterator function that creates an iterator that skips the first argument (argv0). This is the same behavior that the config parsing does and now uses this shared logic. This also makes it so the argsIterator ignores actions (`+things`) and we document that we expect those to be handled earlier.
2024-10-16list_fonts and list_keybinds: Fix typos in documentationRick Calixte
test.yml: Switch to Windows Server 2022 and update Zig URL
2024-10-07macos: remove the ability to bind fn/globeMitchell Hashimoto
This was recently introduced a few days ago. Unfortunately, this doesn't work as expected. The "function" modifier is not actually the fn key but used by macOS to represent a variety of "functional" key presses. This breaks other bindings such as #2411. I can't find a source on the internet that reliably tells me how we can detect fn key presses, but I do find a number of sources that tell us we can't.
2024-10-05cli/list-keybinds: output function modifierMitchell Hashimoto
2024-09-23input: move flags to a packed structMitchell Hashimoto
2024-09-10cli/crash-report: make it simpler (uglier, honestly)Mitchell Hashimoto
2024-08-18input: converting set entries to Entry from ActionMitchell Hashimoto
2024-08-06cli/list-keybinds: fix windows buildMitchell Hashimoto
2024-08-06Merge pull request #2052 from rockorager/pretty-printMitchell Hashimoto
cli/list-keybinds: add pretty printing
2024-08-06cli: note --plainMitchell Hashimoto
2024-08-06cli/list-keybinds: align actions at the same columnkarei
2024-08-06cli/list-keybinds: set default winsize for windowsTim Culverhouse
When on windows, set some default terminal size. The actual size is not very important to our use case here, but we do need one
2024-08-06cli/list-keybinds: set vaxis measurement stateTim Culverhouse
2024-08-06cli/list-keybinds: restore terminal after exitTim Culverhouse
Deinit the tty and vaxis to restore the terminal upon exiting the command
2024-08-06cli/list-keybinds: prevent ios, tvos, and watchos from pretty printingTim Culverhouse
These oses don't supply a tty layer, which prevents us from using the libvaxis tty. Eventually we can add in using stdout as a writer. For now, we just don't pretty print there.
2024-08-06cli/list-keybinds: add pretty printingTim Culverhouse
Add pretty printing to the +list-keybinds command. This is done by bringing in a dependency on libvaxis to handle the styling. Pretty printing happens automatically when printing to a tty, and can be disabled either by redirecting output or using the flag `--plain`
2024-08-05chore: clean up typosƁukasz Niemier
2024-01-26forgot commit to get #1363 building to new APIMitchell Hashimoto
2024-01-23Add option to include docs when listing keybinds.Jeffrey C. Ollie
2024-01-21cli: remove list-keybinds changesMitchell Hashimoto
2024-01-21Use keybind actions help strings in +list-keybinds.Jeffrey C. Ollie
2024-01-21markdown-ify help stringsJeffrey C. Ollie
2024-01-20cli: list-keybinds uses new config formatting APIMitchell Hashimoto
2024-01-20use keybind struct's built-in capabity to format itself in +list-keybinds actionJeffrey C. Ollie
2024-01-20cli: support --help and -h for actionsMitchell Hashimoto
2023-11-03cli/list-keybindings: stylistic changesMitchell Hashimoto
2023-11-03input: Binding.Trigger formatMitchell Hashimoto
2023-11-03input: add Binding.Action.format to convert action to stringMitchell Hashimoto
2023-11-02feat(actions): add new list-keybinds actionRaiden1411