Esempio n. 1
0
def get_run(text, foreground):
    run = Run()
    run.Text = text
    if foreground is not None:
        run.Foreground = foreground
    return run
def get_run(text, foreground):
    run = Run()
    run.Text = text
    if foreground is not None:
        run.Foreground = foreground
    return run
Esempio n. 3
0
def get_prompt(prompt):
    run = Run()
    run.Text = prompt
    run.Foreground = blue
    return run
def get_prompt(prompt):
    run = Run()
    run.Text = prompt
    run.Foreground = blue
    return run