mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +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']
|
sys.argv = ['kitty']
|
||||||
if args.debug_rendering:
|
if args.debug_rendering:
|
||||||
sys.argv.append('--debug-rendering')
|
sys.argv.append('--debug-rendering')
|
||||||
|
if args.debug_input:
|
||||||
|
sys.argv.append('--debug-input')
|
||||||
for config in args.config:
|
for config in args.config:
|
||||||
sys.argv.extend(('--config', config))
|
sys.argv.extend(('--config', config))
|
||||||
if not is_macos:
|
if not is_macos:
|
||||||
|
|||||||
@@ -83,6 +83,9 @@ func main(cmd *cli.Command, opts *Options, args []string) (rc int, err error) {
|
|||||||
if opts.DebugRendering {
|
if opts.DebugRendering {
|
||||||
argv = append(argv, `--debug-rendering`)
|
argv = append(argv, `--debug-rendering`)
|
||||||
}
|
}
|
||||||
|
if opts.DebugInput {
|
||||||
|
argv = append(argv, `--debug-input`)
|
||||||
|
}
|
||||||
if opts.Detach {
|
if opts.Detach {
|
||||||
argv = append(argv, `--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
|
--debug-rendering
|
||||||
type=bool-set
|
type=bool-set
|
||||||
For debugging interactions with the compositor/window manager.
|
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:
|
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
|
--debug-rendering
|
||||||
type=bool-set
|
type=bool-set
|
||||||
For internal debugging use.
|
For internal debugging use.
|
||||||
|
|
||||||
|
|
||||||
|
--debug-input
|
||||||
|
type=bool-set
|
||||||
|
For internal debugging use.
|
||||||
'''.format(
|
'''.format(
|
||||||
appname=appname, listen_on_defn=listen_on_defn, grab_keyboard_docs=grab_keyboard_docs,
|
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)
|
wait_for_single_instance_defn=wait_for_single_instance_defn, **d)
|
||||||
|
|||||||
Reference in New Issue
Block a user