mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-12 07:26:31 +00:00
Import Paint trait from rust-ansi-term
This commit is contained in:
parent
3643994e4b
commit
cfb0fa9b72
@ -10,7 +10,7 @@ use dir::Dir;
|
|||||||
use options::Options;
|
use options::Options;
|
||||||
use unix::Unix;
|
use unix::Unix;
|
||||||
|
|
||||||
use ansi_term::{Plain, strip_formatting};
|
use ansi_term::{Paint, Plain, strip_formatting};
|
||||||
|
|
||||||
pub mod column;
|
pub mod column;
|
||||||
pub mod dir;
|
pub mod dir;
|
||||||
|
@ -2,7 +2,7 @@ use std::io::{fs, IoResult};
|
|||||||
use std::io;
|
use std::io;
|
||||||
use std::str::from_utf8_lossy;
|
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 column::{Column, Permissions, FileName, FileSize, User, Group, HardLinks, Inode, Blocks};
|
||||||
use format::{format_metric_bytes, format_IEC_bytes};
|
use format::{format_metric_bytes, format_IEC_bytes};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use file::File;
|
use file::File;
|
||||||
use std::io;
|
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);
|
static Grey: Colour = Fixed(244);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user