prime8dev

prime8dev
git clone https://git.prime8.dev/prime8dev.git
Log | Files | Refs | README | LICENSE

title.go (252B)


      1 package utils
      2 
      3 const windowTitleHost = "prime8:"
      4 
      5 // WindowTitle is the terminal/browser title for a shell-style path such as
      6 // "~/projects/mos": "prime8:<path>", always in full.
      7 func WindowTitle(path string) string {
      8 	return windowTitleHost + path
      9 }