diff options
author | Kyohei Uto <kyoheiu@outlook.com> | 2022-10-14 05:58:33 +0900 |
---|---|---|
committer | Kyohei Uto <kyoheiu@outlook.com> | 2022-10-14 05:58:33 +0900 |
commit | eef48d48ca4538a30e93f1f159ddc7e6fea53d5f (patch) | |
tree | 9583552a3d6fadde3f1ccb563431de71a91a5adf /src/layout.rs | |
parent | ef3dbb08812d900ba778b3a16ae6487e5b6c061b (diff) |
Remove termion color from state.rs
Diffstat (limited to 'src/layout.rs')
-rw-r--r-- | src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.rs b/src/layout.rs index edf55f4..f7234f9 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -121,7 +121,7 @@ impl Layout { //Print preview (wrapping) for (i, line) in content.iter().enumerate() { move_to(self.preview_start_column, BEGINNING_ROW + i as u16); - set_color(Some(Color::DarkGrey), None); + set_foregroundcolor(Color::DarkGrey); print!("{}", line); reset_color(); if BEGINNING_ROW + i as u16 == self.terminal_row - 1 { |