rl_lang/interpreter/stdlib/terminal/hide_cursor.rs
1use crate::interpreter::{
2 evaluator::Evaluator,
3 stdlib::common::{try_fn, verr, vnl, vok, vs},
4 values::Value,
5};
6use crossterm::{cursor::Hide, execute};
7use std::io::stdout;
8
9pub fn func(_: &mut Evaluator) -> Value {
10 try_fn!("term_hide_cursor", execute!(stdout(), Hide));
11
12 vok!(vnl!())
13}