From 3df776abd78f1c3b94fe7b0cc2a3f443e1dacdd2 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Wed, 24 Jul 2024 02:08:37 +0300 Subject: [PATCH] [terminal/input] Add 'NewLine' flag --- terminal/input/input_windows.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminal/input/input_windows.go b/terminal/input/input_windows.go index eceb46d0..02600b1d 100644 --- a/terminal/input/input_windows.go +++ b/terminal/input/input_windows.go @@ -43,6 +43,9 @@ var HidePassword = false // with option for forced actions) var AlwaysYes = false +// ❗ NewLine is a flag for extra new line after inputs +var NewLine = false + // ////////////////////////////////////////////////////////////////////////////////// // // ❗ Read reads user input