Skip to content

Commit 592b976

Browse files
author
Test User
committed
refactor: extract list UI display constants
1 parent d0c9ec5 commit 592b976

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/constants.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,18 @@ pub const BOOL_FALSE_STR: &str = "false";
615615
pub const EXIT_MSG_GOODBYE: &str = "Goodbye!";
616616
pub const EXIT_MSG_CANCELLED: &str = "Cancelled.";
617617

618+
// List UI display constants
619+
pub const ICON_CURRENT_WORKTREE: &str = "→";
620+
pub const ICON_OTHER_WORKTREE: &str = "▸";
621+
pub const MODIFIED_STATUS_YES: &str = "Yes";
622+
pub const MODIFIED_STATUS_NO: &str = "No";
623+
pub const TABLE_HEADER_NAME: &str = "Name";
624+
pub const TABLE_HEADER_BRANCH: &str = "Branch";
625+
pub const TABLE_HEADER_MODIFIED: &str = "Modified";
626+
pub const TABLE_HEADER_PATH: &str = "Path";
627+
pub const TABLE_SEPARATOR: &str = "-";
628+
pub const CURRENT_MARKER: &str = "[current]";
629+
618630
// Prompt suffixes
619631
pub const PROMPT_SUFFIX_COLON: &str = ": ";
620632
pub const PROMPT_SUFFIX_QUESTION: &str = "? ";

0 commit comments

Comments
 (0)