Skip to content

Commit

Permalink
Update repl
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoNex committed Feb 6, 2024
1 parent f35f419 commit 6778fc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ func REPL() error {
symbols = loadBuiltins(compiler.NewSymbolTable())
)

defer state.Free()
initState, err := term.MakeRaw(int(os.Stdin.Fd()))
if err != nil {
fmt.Println(err)
Expand Down Expand Up @@ -119,7 +118,6 @@ func SimpleREPL() {
reader = bufio.NewReader(os.Stdin)
)

defer state.Free()
PrintVersionInfo(os.Stdout)
for {
fmt.Print(">>> ")
Expand Down

0 comments on commit 6778fc1

Please sign in to comment.