aboutsummaryrefslogtreecommitdiff
path: root/sd.go
diff options
context:
space:
mode:
authorAnthony Wang2022-03-30 09:06:00 -0500
committerAnthony Wang2022-03-30 09:06:00 -0500
commit13e921e9c07763a7a5f5b7a10add652efbb55770 (patch)
tree607eac790cff6e67b617e75e34e17f3907512c3a /sd.go
parent1bca3da2e776edb396852201c5f75ed7aa49e309 (diff)
Add > prompt for key
Diffstat (limited to 'sd.go')
-rw-r--r--sd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd.go b/sd.go
index 2f16bcb..62950b9 100644
--- a/sd.go
+++ b/sd.go
@@ -70,7 +70,7 @@ func main() {
// Get card contents from database
var key, val string
db.QueryRow("SELECT key, val FROM cards WHERE idx=?", i).Scan(&key, &val)
- fmt.Println(key)
+ fmt.Println("> " + key)
// Wait for confirmation
var b []byte = make([]byte, 1)