Пример #1
0
def get_run(text, foreground):
    run = Run()
    run.Text = text
    if foreground is not None:
        run.Foreground = foreground
    return run
Пример #2
0
def get_run(text, foreground):
    run = Run()
    run.Text = text
    if foreground is not None:
        run.Foreground = foreground
    return run
Пример #3
0
def get_prompt(prompt):
    run = Run()
    run.Text = prompt
    run.Foreground = blue
    return run
Пример #4
0
def get_prompt(prompt):
    run = Run()
    run.Text = prompt
    run.Foreground = blue
    return run