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.
It'd be nice to parse ANSI codes so we can move the cursor around 'n stuff.
Check out https://docs.rs/ansi-parser/
SunriseOS/vi/src/terminal.rs
Lines 366 to 376 in f5ac31a
This issue was generated by todo based on a
TODOcomment in f5ac31a when #512 was merged. cc @roblabla.