mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-07 15:07:36 +00:00
vm: replace ishell with urfave/cli
Use github.com/chzyer/readline for readline capabilities (including history and ANSI escape sequences handling).
This commit is contained in:
parent
c4b49a2d52
commit
563c3a4baa
6 changed files with 354 additions and 282 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/abiosoft/readline"
|
||||
"github.com/chzyer/readline"
|
||||
"github.com/nspcc-dev/neo-go/internal/random"
|
||||
"github.com/nspcc-dev/neo-go/pkg/compiler"
|
||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
||||
|
@ -75,6 +75,7 @@ func newTestVMCLIWithLogo(t *testing.T, printLogo bool) *executor {
|
|||
&readline.Config{
|
||||
Prompt: "",
|
||||
Stdin: e.in,
|
||||
Stderr: e.out,
|
||||
Stdout: e.out,
|
||||
FuncIsTerminal: func() bool {
|
||||
return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue