From 10eb1a3aeecdb9329323228c5e697ccbe1c57508 Mon Sep 17 00:00:00 2001 From: mo8it Date: Thu, 29 Aug 2024 16:01:41 +0200 Subject: [PATCH] Fix header padding --- src/list/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list/state.rs b/src/list/state.rs index 5f0cda3..b030aac 100644 --- a/src/list/state.rs +++ b/src/list/state.rs @@ -189,7 +189,7 @@ impl<'a> ListState<'a> { // Header let mut writer = MaxLenWriter::new(stdout, self.term_width as usize); writer.write_ascii(b" Current State Name")?; - writer.write_ascii(&self.name_col_padding[2..])?; + writer.write_ascii(&self.name_col_padding[4..])?; writer.write_ascii(b"Path")?; next_ln(stdout)?;