mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-28 06:20:30 +01:00
use console.highlight()
This commit is contained in:
parent
c3e55200db
commit
c6b22c7cf2
@ -108,7 +108,11 @@ def switch(
|
|||||||
|
|
||||||
if preview:
|
if preview:
|
||||||
ctx.obj['obsws'].set_current_preview_scene(scene_name)
|
ctx.obj['obsws'].set_current_preview_scene(scene_name)
|
||||||
console.out.print(f'Switched to preview scene: [green]{scene_name}[/green]')
|
console.out.print(
|
||||||
|
f'Switched to preview scene: {console.highlight(ctx, scene_name)}'
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
ctx.obj['obsws'].set_current_program_scene(scene_name)
|
ctx.obj['obsws'].set_current_program_scene(scene_name)
|
||||||
console.out.print(f'Switched to program scene: [green]{scene_name}[/green]')
|
console.out.print(
|
||||||
|
f'Switched to program scene: {console.highlight(ctx, scene_name)}'
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user