repo.or.cz
/
tutil.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add an initial implementation of tutil::screen
[tutil.git]
/
examples
/
simple.rs
blob
17488756d1543ab05a3ebe2b218402999858c46d
1
extern crate tutil;
2
3
use tutil::crayon::Style;
4
use tutil::crayon::Color::*;
5
6
use tutil::screen;
7
8
fn main() {
9
println!("{}", Red.on(Black).blink().paint("Hello world!"));
10
println!("{:?}", screen::size());
11
}