aboutsummaryrefslogtreecommitdiff
path: root/sd.go
diff options
context:
space:
mode:
Diffstat (limited to 'sd.go')
-rw-r--r--sd.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd.go b/sd.go
index 5480499..26438f8 100644
--- a/sd.go
+++ b/sd.go
@@ -12,9 +12,12 @@ var file = flag.String("f", "cards", "cards file")
func main() {
flag.Parse()
+ // Put terminal into raw mode
oldState, err := term.MakeRaw(int(os.Stdin.Fd()))
if err != nil {
panic(err)
}
defer term.Restore(int(os.Stdin.Fd()), oldState)
+
+
}