1mod config;
2mod editor;
3mod progress;
4mod tutorial;
5
6use editor::Editor;
7
8pub fn run_cli_text_reader(
9 lines: Vec<String>,
10 col: usize,
11) -> Result<(), Box<dyn std::error::Error>> {
12 let mut editor = Editor::new(lines, col);
13 editor.run()
14}