summaryrefslogtreecommitdiff
path: root/cmd/title.go
diff options
context:
space:
mode:
authorMkvAutoSubset <[email protected]>2021-10-17 20:17:58 +0800
committerKurenai <[email protected]>2021-10-17 20:17:58 +0800
commitc0f88cb080950879bc8af5cf498ac3aa8a8c68fb (patch)
treecaa193ee7f100a1b22d5fa7fa8dfe1120f7ae757 /cmd/title.go
parent70a7c4edba281122c05ef46e9efffe5309ef8448 (diff)
Bump to 3.1.3
- 增加C函数导出 - 增加python调用的demo
Diffstat (limited to 'cmd/title.go')
-rw-r--r--cmd/title.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/title.go b/cmd/title.go
index b292eb5..b49043d 100644
--- a/cmd/title.go
+++ b/cmd/title.go
@@ -2,6 +2,8 @@
package main
+import "fmt"
+
func setWindowTitle(title string) {
fmt.Printf("\033]0;%s\007", title)
}