summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 03:52:09 -0500
committerJeff Carr <[email protected]>2025-10-10 03:52:09 -0500
commitbbfa822fe670250482b21249760d7246b12fefde (patch)
tree9aae220fcfc509b3139c0a5f2e0ead41287a0308 /main.go
parenta35f84f584dd9c0a4a72d8923f79e8e922b39a52 (diff)
playing with title. it's working excellently
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index afd7cb1..ca606c0 100644
--- a/main.go
+++ b/main.go
@@ -35,7 +35,8 @@ func main() {
me.sh.GoodExit("do what?")
}
- setTitle("wit %s" + me.sh.Cmd)
+ pwd, _ := os.Getwd()
+ setTitle(log.Sprintf("wit %s %s", me.sh.Cmd, pwd))
// Standard subcommand handling starts here
var s string