summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 03:18:39 -0500
committerJeff Carr <[email protected]>2025-10-10 03:18:39 -0500
commita35f84f584dd9c0a4a72d8923f79e8e922b39a52 (patch)
tree4f80d0653110c8134ec19af328d1094a460cf450 /main.go
parent1cab6e45dda23365080d7e72d3c62425c06153c6 (diff)
testing title
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index a7c1d62..afd7cb1 100644
--- a/main.go
+++ b/main.go
@@ -35,6 +35,8 @@ func main() {
me.sh.GoodExit("do what?")
}
+ setTitle("wit %s" + me.sh.Cmd)
+
// Standard subcommand handling starts here
var s string
var err error
@@ -47,8 +49,9 @@ func main() {
if argv.Linux != nil {
if argv.Linux.Rdate != nil {
s, err = doRdate()
+ } else {
+ setTerminalTitle("pinging google", "ping", []string{"google.com"})
}
- setTerminalTitle("pinging google", "ping", []string{"google.com"})
}
if argv.Build != nil {