aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.go b/main.go
index f308378..35111e3 100644
--- a/main.go
+++ b/main.go
@@ -9,11 +9,8 @@ import (
"os"
)
-const promt = "\t"
-
func main() {
scanner := bufio.NewScanner(os.Stdin)
- fmt.Print(promt)
for scanner.Scan() {
line := scanner.Text()
result, ok, err := Parse(line)
@@ -22,6 +19,5 @@ func main() {
} else if ok {
fmt.Printf("%v\n\n", result)
}
- fmt.Print(promt)
}
}