gosh-lang / gosh

Gosh is an interpreted language for Go ecosystem written in Go
https://gosh-lang.org
Mozilla Public License 2.0
62 stars 8 forks source link

REPL history is broken #11

Closed AlekSi closed 6 years ago

AlekSi commented 6 years ago

Issue description

REPL history is not being saved between sessions.

Environment

Minimal test code / Steps to reproduce the issue

  1. Start gosh, type some code, exit.
  2. Start gosh again, hit up arrow.

What's the actual result? (include panic message & call stack if applicable)

Nothing.

What's the expected result?

The previous line of code is loaded from the history.