Skip to content

Commit

Permalink
Change from ansitui to ansi-to-tui
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Apr 25, 2021
1 parent 4cd9c8f commit 43b1562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "ansitui"
name = "ansi-to-tui"
version = "0.1.0"
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use std::io::Read;

use ansi::ansi_to_text;
pub fn main() {
let mut file = std::fs::File::open("log").unwrap();
// let mut file = std::fs::File::open("archlinux.ascii").unwrap();
// let mut file = std::fs::File::open("log").unwrap();
let mut file = std::fs::File::open("archlinux.ascii").unwrap();
let mut buffer: Vec<u8> = Vec::new();
file.read_to_end(&mut buffer).unwrap();
let _text = ansi_to_text(buffer);
Expand Down

0 comments on commit 43b1562

Please sign in to comment.