koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.26k stars 161 forks source link

REPL crashes when using :t command #400

Closed chtenb closed 2 weeks ago

chtenb commented 9 months ago

Reproduction

  1. Enter koka repl
  2. Run :t
  3. Press arrow up one or more times

The following error appears and the repl crashes

> :tAssertion failed: attr.x.color == term->attr.x.color || attr.x.color == IC_COLOR_NONE, file src/term.c, line 182

Reproduces on latest release as well as dev. Tested on Windows 11.

daanx commented 2 weeks ago

Apologies for the late reply -- this seems fixed in the latest koka. Thanks!