Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse data for ANSI codes. #522

Open
todo bot opened this issue Oct 22, 2019 · 0 comments
Open

Parse data for ANSI codes. #522

todo bot opened this issue Oct 22, 2019 · 0 comments
Assignees
Labels
project-vi Related to vi todo 🗒️ Created by the todo bot type-feature New feature or request

Comments

@todo
Copy link

todo bot commented Oct 22, 2019

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.
@todo todo bot added the todo 🗒️ Created by the todo bot label Oct 22, 2019
@todo todo bot assigned roblabla Oct 22, 2019
@roblabla roblabla added type-feature New feature or request project-vi Related to vi labels Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-vi Related to vi todo 🗒️ Created by the todo bot type-feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant