From be6885398bdc36bf9e098be4f25636c86438ca7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Wed, 17 Jul 2024 10:47:16 -0700 Subject: [PATCH] unicode arrows for sorting help --- internal/tables/sorting/sorting.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/tables/sorting/sorting.go b/internal/tables/sorting/sorting.go index 3058753..37ce001 100644 --- a/internal/tables/sorting/sorting.go +++ b/internal/tables/sorting/sorting.go @@ -40,29 +40,29 @@ func (s Sorting) Prev() Sorting { func (s Sorting) String() string { switch s { case Name: - return "name" + return "name ↑" case NameReverse: - return "name (r)" + return "name ↓" case Date: - return "date" + return "date ↑" case DateReverse: - return "date (r)" + return "date ↓" case Path: - return "path" + return "path ↑" case PathReverse: - return "path (r)" + return "path ↓" case Size: - return "size" + return "size ↑" case SizeReverse: - return "size (r)" + return "size ↓" case Extension: - return "extension" + return "extension ↑" case ExtensionReverse: - return "extension (r)" + return "extension ↓" case Directory: - return "directories first" + return "directories ↑" case DirectoryReverse: - return "directories last" + return "directories ↓" default: return "0" }