From f0b7ab5eccdafc3c0b4e5840c114c1848eff7e5a Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:48:57 -0500 Subject: [PATCH] chart tweaks for windows (#2626) --- crates/nu_plugin_chart/src/chart.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/nu_plugin_chart/src/chart.rs b/crates/nu_plugin_chart/src/chart.rs index 7fd1f7fdc2..7244815f41 100644 --- a/crates/nu_plugin_chart/src/chart.rs +++ b/crates/nu_plugin_chart/src/chart.rs @@ -123,7 +123,7 @@ impl<'a> BarChart<'a> { ui.draw(|f| { let chunks = Layout::default() .direction(Direction::Vertical) - .margin(2) + .margin(0) .constraints([Constraint::Percentage(100)].as_ref()) .split(f.size()); @@ -134,6 +134,7 @@ impl<'a> BarChart<'a> { .bar_style(Style::default().fg(Color::Green)) .value_style( Style::default() + .fg(Color::Black) .bg(Color::Green) .add_modifier(Modifier::BOLD), );