diff --git a/evaldo/repl.go b/evaldo/repl.go index 28ce565e..d94b1229 100644 --- a/evaldo/repl.go +++ b/evaldo/repl.go @@ -356,7 +356,10 @@ func DoRyeRepl(es *env.ProgramState, dialect string, showResults bool) { // here if k == keyboard.KeyCtrlC { // fmt.Println("Ctrl C 1") cancel() - syscall.Kill(os.Getpid(), syscall.SIGINT) + err1 := syscall.Kill(os.Getpid(), syscall.SIGINT) + if err1 != nil { + fmt.Println(err.Error()) // TODO -- temprorary just printed + } //ctx.Done() // fmt.Println("") // return @@ -374,7 +377,6 @@ func DoRyeRepl(es *env.ProgramState, dialect string, showResults bool) { // here fmt.Println(err) } // fmt.Println("END") - } /* THIS WAS DISABLED TEMP FOR WASM MODE .. 20250116 func DoGeneralInput(es *env.ProgramState, prompt string) { diff --git a/util/microliner.go b/util/microliner.go index 2b4885fb..dce127b5 100644 --- a/util/microliner.go +++ b/util/microliner.go @@ -543,7 +543,6 @@ startOfHere: // mainLoop: for { - select { case <-ctx1.Done(): // fmt.Println("Exitin due to coancelation")