aboutsummaryrefslogtreecommitdiff
path: root/completions/bash (unfollow)
Commit message (Collapse)AuthorLines
2025-11-12config: add toplevel-tag=TAGDaniel Eklöf-4/+6
Add support for the new xdg-toplevel-tag-v1 Wayland protocol, by exposing a new config option, `toplevel-tag`, and a corresponding command option, `--toplevel-tag` (in both `foot` and `footclient`). This can help the compositor with session management, or custom window rules. Closes #2212
2024-03-14Add support for opening an existing PTYAlyssa Ross-2/+3
Virtual machine monitor programs (e.g. QEMU, Cloud Hypervisor) expose guest consoles as PTYs. With this patch, foot can access these guest consoles. Usually, the program used for accessing these PTYs is screen, but screen is barely developed, doesn't support resizing, and has a bunch of other unrelated stuff going on. It would be nice to have a terminal emulator that properly supported opening an existing PTY. The VMM controls the master end of the PTY, so to the other end (in this case foot), it just behaves like any application running in a directly-opened PTY, and all that's needed is to change foot's code to support opening an existing PTY rather than creating one. Co-authored-by: tanto <tanto@ccc.ac>
2023-01-27completions: bash: simplify awk command used to filter terminfo namesCraig Barnes-1/+1
2023-01-10completions: bash: complete option arguments for short optionsCraig Barnes-13/+13
2023-01-10completions: bash: use "case" instead of long if/elif/else chainCraig Barnes-43/+52
2023-01-10Use "command -v" instead of "which" in bash completion scriptsCraig Barnes-3/+3
The former is a built-in command in bash, whereas the latter is an external command and isn't always necessarily available.
2022-04-12completions: footclient: add -E,--client-environmentDaniel Eklöf-0/+1
2022-02-03Fix bash completion for lists of short optionsNicolai Dagestad-2/+2
2021-06-26log: add LOG_CLASS_NONE and use as initializer for log_levelCraig Barnes-2/+2
This means that logging will be completely disabled until log_init() has been called, which is useful to prevent log spam when running UNITTEST{} blocks in debug builds. Note that this doesn't change the default log level at runtime, which was already being set to LOG_CLASS_INFO in main.c and client.c. The new log level is also exposed to the command-line interface as `--log-level=none`, which allows disabling logging entirely.
2021-06-23completions: add -o,--override to footclientDaniel Eklöf-1/+2
2021-06-12Override options from command lineRyan Farley-1/+2
Allow any configuration option to be overridden with -o/--override 'section.key=value' arguments, as suggested in #554 update completitions for override slight refactoring to ease footclient support
2021-03-17Add: Bash completion for foot and footclientSimon Schricker-0/+157
* use toe for terminfo, thanks Craig. * adds optional dependency on bash-completion for positional arguments Co-authored-by: Craig Barnes <craigbarnes@protonmail.com>
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-172/+0
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.