forked from Anri/cal8tor
fix hour column with big cell
This commit is contained in:
parent
aa287b87c2
commit
8b1d7c5b57
1 changed files with 7 additions and 2 deletions
|
@ -58,8 +58,13 @@ pub fn line_table(
|
||||||
.to_string()
|
.to_string()
|
||||||
.repeat(cell_length_hours);
|
.repeat(cell_length_hours);
|
||||||
|
|
||||||
// Print the line
|
// Hours column
|
||||||
print!("\n{}{}{}", ls, line_h, ms);
|
match skip_with.get(&0) {
|
||||||
|
Some(_) => print!("\n{}{}{}", ls, line_h, rs_bbc),
|
||||||
|
None => print!("\n{}{}{}", ls, line_h, ms),
|
||||||
|
};
|
||||||
|
|
||||||
|
// Courses columns
|
||||||
for i in 0..number_cell - 2 {
|
for i in 0..number_cell - 2 {
|
||||||
// Check if it's a big cell
|
// Check if it's a big cell
|
||||||
match skip_with.get(&i) {
|
match skip_with.get(&i) {
|
||||||
|
|
Reference in a new issue