prompt_status: A prompt that shows the status (OK or error) of the last...

View source: R/prompt-status.R

prompt_statusR Documentation

A prompt that shows the status (OK or error) of the last expression

Description

A prompt that shows the status (OK or error) of the last expression

Usage

prompt_status(expr, value, ok, visible)

Arguments

expr

Evaluated expression.

value

Its value.

ok

Whether the evaluation succeeded.

visible

Whether the result is visible.

Value

prompt_status() returns the prompt string.

See Also

Other example prompts: new_prompt_powerline(), prompt_devtools(), prompt_fancy(), prompt_git(), prompt_mem(), prompt_runtime()


gaborcsardi/prompt documentation built on Sept. 9, 2023, 1:33 a.m.