mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Experiment: use direct utf-8 VLINE char
This commit is contained in:
parent
66d5cca115
commit
8d24df5f59
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user