aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_defs.go2
-rw-r--r--src/c_exec.go2
-rw-r--r--src/c_hardflip.go12
3 files changed, 2 insertions, 14 deletions
diff --git a/src/c_defs.go b/src/c_defs.go
index cb249e0..3d60bfb 100644
--- a/src/c_defs.go
+++ b/src/c_defs.go
@@ -56,7 +56,7 @@ const (
STYLE_FILE_NAME = "colors.yml"
CONF_DIR_NAME = "hf"
DATA_DIR_NAME = "hf"
- VERSION = "v0.7"
+ VERSION = "v0.8"
VERSION_NAME = "pre-release"
)
diff --git a/src/c_exec.go b/src/c_exec.go
index 4913ff4..aa297ea 100644
--- a/src/c_exec.go
+++ b/src/c_exec.go
@@ -235,7 +235,7 @@ func c_format_cmd(host *HostNode, opts HardOpts,
if term == "$TERMINAL" {
term = os.Getenv("TERMINAL")
}
- cmd_fmt = append([]string{"setsid", term, "-e"}, cmd_fmt...)
+ cmd_fmt = append([]string{term, "-e"}, cmd_fmt...)
}
return cmd_fmt, cmd_env
}
diff --git a/src/c_hardflip.go b/src/c_hardflip.go
index 4d22149..dd3dd10 100644
--- a/src/c_hardflip.go
+++ b/src/c_hardflip.go
@@ -51,9 +51,6 @@
package main
-import "log"
-import "os"
-
// the main data structure, holds up everything important
type HardData struct {
litems *ItemsList
@@ -72,15 +69,6 @@ type HardData struct {
}
func main() {
- // TODO: remove log for release
- f, _ := os.OpenFile("/tmp/hflog",
- os.O_RDWR | os.O_CREATE | os.O_APPEND, 0644)
- defer f.Close()
- log.SetOutput(f)
- log.SetPrefix("")
- log.SetFlags(0)
- log.Println("--------------------")
-
data_dir := c_get_data_dir(nil)
i_ui(data_dir)
}