Re: [code] Improved Lua REPL module

From: Mitchell <m.att.foicica.com>
Date: Thu, 12 Sep 2019 16:52:12 -0400 (EDT)

Hi Alexander,

On Tue, 10 Sep 2019, Alexander Misel wrote:

> 1. Added a clear function to env
> 2. Borrowed some code from command_entry.lua to achieve similar functions. The old REPL cannot handle assignments well, as they are preceded by return. Also list table elements.
> 3. Modified print function to print lines directly after the command, so that when we output a lot of lines, we don't have to bother removing those -->
> 4. Always output function returns, like Browser F12 console, even if it's nil.
> 5. Added Ctrl+Up and Ctrl+Down for navigating in history commands.

Cool! I'll see if I can incorporate your changes when I have some time.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 12 Sep 2019 - 16:52:12 EDT

This archive was generated by hypermail 2.2.0 : Fri 13 Sep 2019 - 06:47:30 EDT