Skip to content

Commit

Permalink
fix(interpreter): correct input handler for console action
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Nov 10, 2024
1 parent 2187556 commit e146bbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions usecases/interpreter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@ func OnStart(
}
case consoleActionAsk:
fmt.Println(consoleResp.Question)

req, err := inputHandler.Read(ctx, consoleResp.Question)
req, err := inputHandler.Read(
ctx,
">>> ",
)
if err != nil {
return fmt.Errorf("failed to read input: %w", err)
}
Expand Down

0 comments on commit e146bbc

Please sign in to comment.