diff --git a/src/input_bar.go b/src/input_bar.go index 5dd6d17..6a04cda 100644 --- a/src/input_bar.go +++ b/src/input_bar.go @@ -18,7 +18,7 @@ func RequestInput(window *Window, text string, defaultInput string) chan string request := &TyperInputRequest{ Text: text, input: defaultInput, - cursorPos: 0, + cursorPos: len(defaultInput), inputChannel: make(chan string), }