bernardo-tui 0.2.7

A keyboard-only, distraction-free TUI widget library
Documentation
1
2
3
4
5
6
7
8
use crate::primitives::stupid_cursor::StupidCursor;

/// Represents a text substitution: replace the range with the given string.
#[derive(Debug, Clone)]
pub struct StupidSubstituteMessage {
    pub substitute: String,
    pub stupid_range: (StupidCursor, StupidCursor),
}