summaryrefslogtreecommitdiffstats
path: root/examples/tictactoe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tictactoe.rs')
-rw-r--r--examples/tictactoe.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tictactoe.rs b/examples/tictactoe.rs
index 0ff7207..0c299f9 100644
--- a/examples/tictactoe.rs
+++ b/examples/tictactoe.rs
@@ -14,7 +14,7 @@ fn main() {
[EMPTY, EMPTY, EMPTY],
[EMPTY, EMPTY, EMPTY]
];
- let mut height = table.printstd();
+ let mut height = table.print_tty(false).unwrap();
let stdin = io::stdin();
let mut stdout = io::stdout();
let mut current = CROSS;
@@ -53,7 +53,7 @@ fn main() {
terminal.cursor_up().unwrap();
terminal.delete_line().unwrap();
}
- height = table.printstd();
+ height = table.print_tty(false).unwrap();
if check(&table) {
return;
}