aboutsummaryrefslogtreecommitdiff
path: root/go-src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'go-src/ui')
-rw-r--r--go-src/ui/ui.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/go-src/ui/ui.go b/go-src/ui/ui.go
index 2886fff..a35eac0 100644
--- a/go-src/ui/ui.go
+++ b/go-src/ui/ui.go
@@ -120,3 +120,11 @@ func GetInput() string {
scanner.Scan()
return scanner.Text()
}
+
+func PageField(current int, max int) string {
+ return fmt.Sprintf("├─Page %v/%v─┘", current, max)
+}
+
+func EmptyLine() string {
+ return string(boxVertLine)
+}