mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Add --debug-input for panel and quick access terminals
This commit is contained in:
@@ -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 @@ The unique name of this quick access terminal Use a different name if you want m
|
||||
--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 @@ Path to a log file to store STDOUT/STDERR when using :option:`--detach`
|
||||
--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)
|
||||
|
||||
Reference in New Issue
Block a user