From 6a03477fd7dabf6c524cf6eae38eb2fae53772aa Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 26 Aug 2025 16:51:59 +0200 Subject: cleaned more --- src/e_keys.go | 21 --------------------- src/i_host.go | 1 - 2 files changed, 22 deletions(-) (limited to 'src') diff --git a/src/e_keys.go b/src/e_keys.go index ea3f61f..5aec304 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -908,31 +908,10 @@ func e_fuzz_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.buff.empty() return true } else if event.Key() == tcell.KeyEnter { - // TODO: select fuzzed item ui.s.HideCursor() ui.mode = NORMAL_MODE ui.buff.empty() } else { - e_readline(event, &ui.buff, ui, data.home_dir) } return false } - -// func e_update_lfuzz(buff Buffer) { -// for ptr := lfuzz.head; ptr != nil; ptr = ptr.next { -// var name_runes []rune -// name_runes = []rune(ptr.name) -// var end_runes []rune -// for _, buff_ptr := range buff.data { -// for _, name_ptr := range name_runes { -// if buff_ptr == name_ptr { -// end_runes = append(end_runes, buff_ptr) -// continue -// } -// } -// } -// if len(end_runes) == 0 { -// lfuzz.del(ptr) -// } -// } -// } diff --git a/src/i_host.go b/src/i_host.go index 6605c6b..ef20aab 100644 --- a/src/i_host.go +++ b/src/i_host.go @@ -55,7 +55,6 @@ func i_host_panel_dirs(ui HardUI, icons bool, dir_icon uint8, depth uint16, dir *DirsNode, curr *DirsNode, line int) { style := ui.style[DIR_STYLE] if dir == curr { - // style = style.Background(tcell.ColorBlack) style = style.Reverse(true) } text := " " -- cgit v1.2.3