Zenroom icon indicating copy to clipboard operation
Zenroom copied to clipboard

Zenroom interactive mode strange behaviour

Open matteo-cristino opened this issue 1 year ago • 1 comments

When running zenroom in interactive mode with

./zenroom -i

The output is

Zenroom v4.42.0 - secure crypto language VM
Zenroom is Copyright (C) 2017-2024 by the Dyne.org foundation
 .   Release version: v4.42.0
 .   Build commit hash: 0d3c0ac9
 .   Memory manager: libc
 .   ECDH curve is SECP256K1
 .   ECP curve is BLS381
Interactive console, press ctrl-d to quit.
lua> lua> 

where it can clearly see that the lua > string is repeated.

Moreover creating a newline from an empty line cause the interactive mode to close.

This issues have been introduced in v4.41.0

matteo-cristino avatar Oct 02 '24 09:10 matteo-cristino

It may be a good moment to consider the addition of kilo.c as @danielinux is doing into cjit (his fork there contains fixes to the upstream).

jaromil avatar Oct 02 '24 10:10 jaromil