make repl submit each command

This commit is contained in:
Robin Olsen
2026-03-19 22:08:13 +01:00
parent 35114a3e0f
commit 3bc97024c3
2 changed files with 43 additions and 30 deletions

View File

@@ -8,7 +8,7 @@ import (
)
// execute processes the input command and returns the output
func execute(input string) (string, error) {
func (r *REPL) execute(input string) (string, error) {
if input == "" {
return "", nil
}