Experiment: use direct utf-8 VLINE char

This commit is contained in:
Alexandre Bury 2016-06-25 15:52:19 -07:00
parent 66d5cca115
commit 8d24df5f59

View File

@ -62,7 +62,10 @@ impl Printer {
let len = min(len, self.size.y - p.y);
let p = p + self.offset;
ncurses::mvvline(p.y as i32, p.x as i32, c, len as i32);
for y in 0..len {
ncurses::mvaddstr((p.y + y) as i32, p.x as i32, "");
// ncurses::mvaddstr(p.y as i32, p.x as i32, "┌");
}
}
/// Prints a horizontal line using the given character.