mirror of
https://github.com/EnumeratedDev/Typer.git
synced 2025-06-30 23:38:22 +00:00
Fix cursor being at wrong position in input bar when default input is set
This commit is contained in:
parent
8d9de7b732
commit
1b5ce6b7f8
@ -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),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user