From 02f1c8482a1ce5b88443995efbb67cb268a7945d Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Tue, 27 Jun 2023 09:53:06 +0000 Subject: [PATCH] fix: new line after prompts --- task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task.go b/task.go index c76ca85e..7cca7980 100644 --- a/task.go +++ b/task.go @@ -155,7 +155,7 @@ func (e *Executor) RunTask(ctx context.Context, call taskfile.Call) error { return &errors.TaskCancelledNoTerminalError{TaskName: call.Task} } - e.Logger.Outf(logger.Yellow, "task: %q [y/N]\n", t.Prompt) + e.Logger.Outf(logger.Yellow, "task: %q [y/N]: ", t.Prompt) reader := bufio.NewReader(e.Stdin) userInput, err := reader.ReadString('\n')