aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-16 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-16 20:20:20 +0200
commit43be8d48c37ea38a3ed649ec6b95e00b40557f10 (patch)
tree9664b6e56ce8c5c0aa17cee59d103991b8758606
parentfucking great readline (diff)
downloadhardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.gz
hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.bz2
hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.xz
hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.tar.zst
hardflip-43be8d48c37ea38a3ed649ec6b95e00b40557f10.zip
v0.7
-rw-r--r--ROADMAP.md2
-rw-r--r--src/c_defs.go2
-rw-r--r--src/e_events.go3
-rw-r--r--src/i_ui.go2
4 files changed, 2 insertions, 7 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 30fc285..6fd2ab3 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -42,7 +42,7 @@
- [x] scroll insert
- [x] help
- [x] rename dirs
-- [ ] better readline
+- [x] better readline
## v0.8
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)