diff options
author | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
commit | 43be8d48c37ea38a3ed649ec6b95e00b40557f10 (patch) | |
tree | 9664b6e56ce8c5c0aa17cee59d103991b8758606 /src | |
parent | fucking great readline (diff) | |
download | hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.gz hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.bz2 hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.xz hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.zst hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.zip |
v0.7
Diffstat (limited to 'src')
-rw-r--r-- | src/c_defs.go | 2 | ||||
-rw-r--r-- | src/e_events.go | 3 | ||||
-rw-r--r-- | src/i_ui.go | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/src/c_defs.go b/src/c_defs.go index b193a9c..e6fcf79 100644 --- a/src/c_defs.go +++ b/src/c_defs.go @@ -55,7 +55,7 @@ const ( CONF_FILE_NAME = "config.yml" CONF_DIR_NAME = "hf" DATA_DIR_NAME = "hf" - VERSION = "v0.6" + VERSION = "v0.7" VERSION_NAME = "pre-release" ) diff --git a/src/e_events.go b/src/e_events.go index 1b6e93e..49cd666 100644 --- a/src/e_events.go +++ b/src/e_events.go @@ -52,7 +52,6 @@ package main import ( - "log" "os" "github.com/gdamore/tcell/v2" @@ -308,7 +307,6 @@ func e_tab_complete_get_current_dir(str, home_dir string) (string, string) { func e_tab_complete(buffer *Buffer, ui *HardUI, home_dir string) { dir, file := e_tab_complete_get_current_dir(buffer.str(), home_dir) - log.Println("cwd:", dir, "file:", file) entries, err := os.ReadDir(dir) if err != nil { return @@ -327,7 +325,6 @@ func e_tab_complete(buffer *Buffer, ui *HardUI, home_dir string) { } } ui.match_buff = match_sum - log.Println("match:", match) if len(match) == 0 { return } else if len(match) == 1 { diff --git a/src/i_ui.go b/src/i_ui.go index 5e3d180..c0f6c29 100644 --- a/src/i_ui.go +++ b/src/i_ui.go @@ -53,7 +53,6 @@ package main import ( "fmt" - "log" "os" "strconv" @@ -616,7 +615,6 @@ func i_draw_scrollhint(ui HardUI, litems *ItemsList) { } func i_draw_match_buff(ui HardUI) { - log.Println("match_buff", ui.match_buff) i_draw_msg(ui.s, 1, ui.style[BOX_STYLE], ui.dim, "") i_draw_text(ui.s, 2, ui.dim[H] - 2 - 1, ui.dim[W] - 2, ui.dim[H] - 2 - 1, ui.style[DEF_STYLE], ui.match_buff) |