summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Peltier <pierre.peltier@adevinta.com>2019-11-04 14:58:35 +0100
committerAbin Simon <abinsimon10@gmail.com>2019-12-06 11:35:03 +0530
commit53ad81f0062dea76a34ee283db1748ba597ee912 (patch)
treebb8bc38e119b1ec6e496ec2465c0b7b486904548
parent7c0bdb6b6aac84d980a19ac7a83f864de158c868 (diff)
Fix the name and icon spacing
-rw-r--r--src/display.rs2
-rw-r--r--src/icon.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/display.rs b/src/display.rs
index ef51719..5499ee0 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -38,7 +38,7 @@ fn inner_display_grid(
let padding_rules = get_padding_rules(&metas, flags);
let mut grid = Grid::new(GridOptions {
- filling: Filling::Spaces(1),
+ filling: Filling::Spaces(2),
direction: if flags.layout == Layout::OneLine {
Direction::LeftToRight
} else {
diff --git a/src/icon.rs b/src/icon.rs
index 3754e32..dc6bdd6 100644
--- a/src/icon.rs
+++ b/src/icon.rs
@@ -16,7 +16,7 @@ pub enum Theme {
Unicode,
}
-const ICON_SPACE: &str = " ";
+const ICON_SPACE: &str = " ";
// In order to add a new icon, write the unicode value like "\ue5fb" then
// run the command below in vim: