Skip to main content

BLINKING

Constant BLINKING 

Source
pub const BLINKING: &str = "\u{1b}[5m";
Expand description

Set blinking mode.

Equivalent to CSI 5 m

Doesn’t affect background color (only foreground).

This mode can be reset with RESET_BLINKING or RESET. Note that RESET will reset all text modes.

§Example

use termal_core::codes;

let mut buf = codes::CLEAR.to_string();

buf += codes::BLINKING;
buf += "blinking text";

buf += codes::RESET_BLINKING;
buf += " normal text";

println!("{buf}");

§Result in terminal