Comparar commits

..

No hay commits en común. "ce0b2ab9550e6a88c52e9714d9140e4af7fa3c1f" y "f6aaf85cca1038e102d502204dcf105f3bae3651" tienen historias totalmente diferentes.

Se han modificado 2 ficheros con 3 adiciones y 2 borrados

4
lua.go
Ver fichero

@ -201,8 +201,8 @@ func hshinterval(L *lua.LState) int {
NRet: 0, NRet: 0,
Protect: true, Protect: true,
}); err != nil { }); err != nil {
fmt.Fprintln(os.Stderr, "Error in interval function:\n\n", err) fmt.Fprintln(os.Stderr,
stop <- lua.LTrue // stop the interval "Error in interval function:\n\n", err)
} }
case <-stop: case <-stop:
ticker.Stop() ticker.Stop()

Ver fichero

@ -218,6 +218,7 @@ func ContinuePrompt(prev string) (string, error) {
lr.SetPrompt(multilinePrompt) lr.SetPrompt(multilinePrompt)
cont, err := lr.Read() cont, err := lr.Read()
if err != nil { if err != nil {
fmt.Println("")
return "", err return "", err
} }
cont = strings.TrimSpace(cont) cont = strings.TrimSpace(cont)