mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-22 12:54:59 +00:00
missed one crucial change to use the offset correctly
This commit is contained in:
parent
7fefc3c77b
commit
f4696faf77
@ -144,7 +144,7 @@ impl<'a> View<'a> {
|
|||||||
};
|
};
|
||||||
print!(
|
print!(
|
||||||
"{goto}{background}{foregroud}{text}{resetf}{resetb}",
|
"{goto}{background}{foregroud}{text}{resetf}{resetb}",
|
||||||
goto = cursor::Goto(offset + extra_position as u16 + 1, mat.y as u16 + 1),
|
goto = cursor::Goto(final_position as u16 + 1, mat.y as u16 + 1),
|
||||||
foregroud = color::Fg(*self.hint_foreground_color),
|
foregroud = color::Fg(*self.hint_foreground_color),
|
||||||
background = color::Bg(*self.hint_background_color),
|
background = color::Bg(*self.hint_background_color),
|
||||||
resetf = color::Fg(color::Reset),
|
resetf = color::Fg(color::Reset),
|
||||||
|
Loading…
Reference in New Issue
Block a user