mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-08-17 02:20:25 +03:00
Allow using --debug-rendering with panel kitten
This commit is contained in:
parent
0dd2c3ea27
commit
3adf05244d
@ -65,6 +65,11 @@
|
||||
--name
|
||||
condition=not is_macos
|
||||
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
|
||||
|
||||
|
||||
@ -157,6 +162,8 @@ def main(sys_args: List[str]) -> None:
|
||||
if not items:
|
||||
raise SystemExit('You must specify the program to run')
|
||||
sys.argv = ['kitty']
|
||||
if args.debug_rendering:
|
||||
sys.argv.append('--debug-rendering')
|
||||
for config in args.config:
|
||||
sys.argv.extend(('--config', config))
|
||||
sys.argv.extend(('--class', args.cls))
|
||||
|
Loading…
Reference in New Issue
Block a user