mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 07:55:10 +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:
|
||||
|
||||
Reference in New Issue
Block a user