mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
Allow using --debug-rendering with panel kitten
This commit is contained in:
parent
0dd2c3ea27
commit
3adf05244d
1 changed files with 7 additions and 0 deletions
|
|
@ -65,6 +65,11 @@ Set the class part of the :italic:`WM_CLASS` window property. On Wayland, it set
|
|||
--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…
Add table
Add a link
Reference in a new issue