mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
Fix create_box boundary fg color
This commit is contained in:
parent
c4c11e4abc
commit
c88d1cae51
@ -2371,13 +2371,21 @@ pub mod boundaries {
|
|||||||
|
|
||||||
if !grid.ascii_drawing {
|
if !grid.ascii_drawing {
|
||||||
for x in get_x(upper_left)..get_x(bottom_right) {
|
for x in get_x(upper_left)..get_x(bottom_right) {
|
||||||
grid[(x, get_y(upper_left))].set_ch(HORZ_BOUNDARY);
|
grid[(x, get_y(upper_left))]
|
||||||
grid[(x, get_y(bottom_right))].set_ch(HORZ_BOUNDARY);
|
.set_ch(HORZ_BOUNDARY)
|
||||||
|
.set_fg(Color::Byte(240));
|
||||||
|
grid[(x, get_y(bottom_right))]
|
||||||
|
.set_ch(HORZ_BOUNDARY)
|
||||||
|
.set_fg(Color::Byte(240));
|
||||||
}
|
}
|
||||||
|
|
||||||
for y in get_y(upper_left)..get_y(bottom_right) {
|
for y in get_y(upper_left)..get_y(bottom_right) {
|
||||||
grid[(get_x(upper_left), y)].set_ch(VERT_BOUNDARY);
|
grid[(get_x(upper_left), y)]
|
||||||
grid[(get_x(bottom_right), y)].set_ch(VERT_BOUNDARY);
|
.set_ch(VERT_BOUNDARY)
|
||||||
|
.set_fg(Color::Byte(240));
|
||||||
|
grid[(get_x(bottom_right), y)]
|
||||||
|
.set_ch(VERT_BOUNDARY)
|
||||||
|
.set_fg(Color::Byte(240));
|
||||||
}
|
}
|
||||||
set_and_join_box(grid, upper_left, BoxBoundary::Horizontal);
|
set_and_join_box(grid, upper_left, BoxBoundary::Horizontal);
|
||||||
set_and_join_box(
|
set_and_join_box(
|
||||||
|
Loading…
Reference in New Issue
Block a user