mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Allow using --debug-rendering with panel kitten
This commit is contained in:
@@ -65,6 +65,11 @@ Set the class part of the :italic:`WM_CLASS` window property. On Wayland, it set
|
|||||||
--name
|
--name
|
||||||
condition=not is_macos
|
condition=not is_macos
|
||||||
Set the name part of the :italic:`WM_CLASS` property (defaults to using the value from :option:`{appname} --class`)
|
Set the name part of the :italic:`WM_CLASS` property (defaults to using the value from :option:`{appname} --class`)
|
||||||
|
|
||||||
|
|
||||||
|
--debug-rendering
|
||||||
|
type=bool-set
|
||||||
|
For internal debugging use.
|
||||||
'''.format(appname=appname).format
|
'''.format(appname=appname).format
|
||||||
|
|
||||||
|
|
||||||
@@ -157,6 +162,8 @@ def main(sys_args: List[str]) -> None:
|
|||||||
if not items:
|
if not items:
|
||||||
raise SystemExit('You must specify the program to run')
|
raise SystemExit('You must specify the program to run')
|
||||||
sys.argv = ['kitty']
|
sys.argv = ['kitty']
|
||||||
|
if args.debug_rendering:
|
||||||
|
sys.argv.append('--debug-rendering')
|
||||||
for config in args.config:
|
for config in args.config:
|
||||||
sys.argv.extend(('--config', config))
|
sys.argv.extend(('--config', config))
|
||||||
sys.argv.extend(('--class', args.cls))
|
sys.argv.extend(('--class', args.cls))
|
||||||
|
|||||||
Reference in New Issue
Block a user