LightAndLight / ipso

A functional scripting language.

Home Page:https://ipso.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error messages sometimes not displayed in REPL

LightAndLight opened this issue · comments

REPL error messages are only display when the REPL prompt is somewhere near the bottom of the terminal.

I discovered this by running ipso in a new terminal. Previously I'd only ever run it in a full terminal, so I never ran into this bug.

Test inputs that trigger this issue:

  • :some_invalid_command - an invalid command
  • 1 + "hi" - a type error
  • print "hello\ngoodbye" - a printed string that contains a newline

Example:
ipso-bug