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