-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
project-viRelated to viRelated to vitodo 🗒️Created by the todo botCreated by the todo bottype-featureNew feature or requestNew feature or request
Description
It'd be nice to parse ANSI codes so we can move the cursor around 'n stuff.
Check out https://docs.rs/ansi-parser/
Lines 366 to 376 in f5ac31a
| // TODO: Parse data for ANSI codes. | |
| // BODY: It'd be nice to parse ANSI codes so we can move the cursor | |
| // BODY: around 'n stuff. | |
| // BODY: | |
| // BODY: Check out https://docs.rs/ansi-parser/ | |
| FutureObj::new(Box::new(async move { | |
| let s = core::str::from_utf8(data).or(Err(ViError::InvalidUtf8))?; | |
| let mut locked = self.terminal.lock(); | |
| let _ = locked.write_str(s); | |
| locked.draw(); | |
| Ok(()) |
This issue was generated by todo based on a TODO comment in f5ac31a when #512 was merged. cc @roblabla.
Metadata
Metadata
Assignees
Labels
project-viRelated to viRelated to vitodo 🗒️Created by the todo botCreated by the todo bottype-featureNew feature or requestNew feature or request