Import Paint trait from rust-ansi-term

This commit is contained in:
Ben S 2014-07-04 09:54:14 +01:00
parent 3643994e4b
commit cfb0fa9b72
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ use dir::Dir;
use options::Options;
use unix::Unix;
use ansi_term::{Plain, strip_formatting};
use ansi_term::{Paint, Plain, strip_formatting};
pub mod column;
pub mod dir;

View File

@ -2,7 +2,7 @@ use std::io::{fs, IoResult};
use std::io;
use std::str::from_utf8_lossy;
use ansi_term::{Colour, Plain, Style, Red, Green, Yellow, Blue, Purple, Cyan, Fixed};
use ansi_term::{Paint, Colour, Plain, Style, Red, Green, Yellow, Blue, Purple, Cyan, Fixed};
use column::{Column, Permissions, FileName, FileSize, User, Group, HardLinks, Inode, Blocks};
use format::{format_metric_bytes, format_IEC_bytes};

View File

@ -1,7 +1,7 @@
use file::File;
use std::io;
use ansi_term::{Colour, Plain, Style, Red, Green, Yellow, Blue, Cyan, Fixed};
use ansi_term::{Paint, Colour, Plain, Style, Red, Green, Yellow, Blue, Cyan, Fixed};
static Grey: Colour = Fixed(244);