aboutsummaryrefslogtreecommitdiffstats
path: root/c_defs.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-19 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-19 20:20:20 +0100
commit8102c5d23feb0fe4794b73022f57c8fd2d591e4e (patch)
tree5013b0645bad4095229aad28aa342fcacae6e99f /c_defs.go
parentyea (diff)
downloadhardflip-8102c5d23feb0fe4794b73022f57c8fd2d591e4e.tar.gz
hardflip-8102c5d23feb0fe4794b73022f57c8fd2d591e4e.tar.bz2
hardflip-8102c5d23feb0fe4794b73022f57c8fd2d591e4e.tar.xz
hardflip-8102c5d23feb0fe4794b73022f57c8fd2d591e4e.tar.zst
hardflip-8102c5d23feb0fe4794b73022f57c8fd2d591e4e.zip
good error msgs
Diffstat (limited to '')
-rw-r--r--c_defs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/c_defs.go b/c_defs.go
index d6a55e4..4145613 100644
--- a/c_defs.go
+++ b/c_defs.go
@@ -54,6 +54,8 @@ package main
const (
W = 0
H = 1
+ ERROR_MSG = 0
+ ERROR_ERR = 1
DATA_DIR_NAME = "hardflip"
VERSION = "v0.1"
)
@@ -66,12 +68,14 @@ const (
DELETE_KEYS_HINTS = `(q)uit -
(y)es -
(n)o`
+ ERROR_KEYS_HINTS = "[Enter] Ok"
)
const (
NORMAL_MODE = 0
DELETE_MODE = 1
LOAD_MODE = 2
+ ERROR_MODE = 3
)
var (