diff options
Diffstat (limited to '')
-rw-r--r-- | c_init.go | 3 | ||||
-rw-r--r-- | i_ui.go | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -63,9 +63,6 @@ type HardOpts struct { Term string } -// HACK: fuck global vars -var g_load_count int = -1 - // this function recurses into the specified root directory in order to load // every yaml file into memory func c_recurse_data_dir(dir, root string, opts HardOpts, @@ -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 { |