nano_cursor/lib.rs
1//! Draw a terminal cursor as a styled cell in a ratatui buffer.
2//!
3//! Terminals are free to ignore OSC 12, and some do: Warp renders the cursor
4//! as a widget in its own UI and colours it from its theme, so no escape can
5//! reach it. This crate sidesteps the negotiation by painting the cursor into
6//! the frame the application is already drawing.
7#![warn(missing_docs)]
8
9mod color;
10mod cursor;
11
12pub use cursor::{Cursor, Ink, Report, Shape};