prompt (version 1.0.0)

prompt_error: 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_error(expr, value, ok, visible)

Arguments

expr

Evaluated expression.

value

Its value.

ok

Whether the evaluation succeeded.

visible

Whether the result is visible.

See Also

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