implement input history

This commit is contained in:
EnumDev committed 2025-06-08 11:33:48 +03:00
1 parent f086463373
commit 2ec4fc0cea
2 files changed
+37 -2

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ type TyperInputRequest struct {
inputChannel chan string
}
var inputHistory = make([]string, 0)
var currentInputRequest *TyperInputRequest
func RequestInput(window *Window, text string, defaultInput string) chan string {