Add --debug-input for panel and quick access terminals
This commit is contained in:
parent
f34007c65a
commit
b01b73a8e5
4 changed files with 15 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ def actual_main(sys_args: list[str]) -> None:
|
|||
sys.argv = ['kitty']
|
||||
if args.debug_rendering:
|
||||
sys.argv.append('--debug-rendering')
|
||||
if args.debug_input:
|
||||
sys.argv.append('--debug-input')
|
||||
for config in args.config:
|
||||
sys.argv.extend(('--config', config))
|
||||
if not is_macos:
|
||||
|
|
|
|||
|
|
@ -83,6 +83,9 @@ func main(cmd *cli.Command, opts *Options, args []string) (rc int, err error) {
|
|||
if opts.DebugRendering {
|
||||
argv = append(argv, `--debug-rendering`)
|
||||
}
|
||||
if opts.DebugInput {
|
||||
argv = append(argv, `--debug-input`)
|
||||
}
|
||||
if opts.Detach {
|
||||
argv = append(argv, `--detach`)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,6 +116,11 @@ def options_spec() -> str:
|
|||
--debug-rendering
|
||||
type=bool-set
|
||||
For debugging interactions with the compositor/window manager.
|
||||
|
||||
|
||||
--debug-input
|
||||
type=bool-set
|
||||
For debugging interactions with the compositor/window manager.
|
||||
'''
|
||||
|
||||
def main(args: list[str]) -> None:
|
||||
|
|
|
|||
|
|
@ -765,6 +765,11 @@ def build_panel_cli_spec(defaults: dict[str, str]) -> str:
|
|||
--debug-rendering
|
||||
type=bool-set
|
||||
For internal debugging use.
|
||||
|
||||
|
||||
--debug-input
|
||||
type=bool-set
|
||||
For internal debugging use.
|
||||
'''.format(
|
||||
appname=appname, listen_on_defn=listen_on_defn, grab_keyboard_docs=grab_keyboard_docs,
|
||||
wait_for_single_instance_defn=wait_for_single_instance_defn, **d)
|
||||
|
|
|
|||
Loading…
Reference in a new issue