aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_ui.go')
-rw-r--r--i_ui.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/i_ui.go b/i_ui.go
index b056098..e3f4637 100644
--- a/i_ui.go
+++ b/i_ui.go
@@ -612,6 +612,9 @@ func i_scrollhint(ui HardUI, litems *ItemsList) {
}
}
+// HACK: fuck global vars but do we have the choice really
+var g_load_count int = -1
+
func i_display_load_ui(ui *HardUI) {
g_load_count += 1
if g_load_count % 1000 != 0 {