From d4ebd40aad196e0ba24938acd49560b6b867a316 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 15 Apr 2024 20:20:20 +0200 Subject: fuck --- src/i_events.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/i_events.go b/src/i_events.go index b346b11..6a47074 100644 --- a/src/i_events.go +++ b/src/i_events.go @@ -52,6 +52,7 @@ package main import ( + "fmt" "os" "strconv" "strings" @@ -743,16 +744,21 @@ func i_events(data *HardData) { ui.s.HideCursor() break } - data.ui.insert_sel_ok = false if len(data.insert.Drive) == 0 { data.insert.Drive = make(map[string]string) } data.insert.Drive[ui.drives_buff] = ui.buff i_set_drive_keys(data) + data.ui.insert_sel_ok = false ui.drives_buff = "" ui.buff = "" ui.s.HideCursor() // FIX: can't add shit anymore + // FIX: data good tho + ui.s.Fini() + fmt.Println(data.insert.Drive) + fmt.Println(data.insert.drive_keys) + os.Exit(0) } else { i_readline(event, &data.ui.buff) } -- cgit v1.2.3