Skip to content

Parse data for ANSI codes. #522

@todo

Description

@todo

It'd be nice to parse ANSI codes so we can move the cursor around 'n stuff.
Check out https://docs.rs/ansi-parser/


// 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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions