Bump minor version to v1.3.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
GitHub Copilot
2026-02-14 18:32:34 +00:00
parent c8040e5938
commit 4110963c9f
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func RunCLI(args []string) error {
return err return err
} }
if showVersion { if showVersion {
_, _ = fmt.Fprintln(os.Stdout, "0.0.0") _, _ = fmt.Fprintln(os.Stdout, Version)
return nil return nil
} }
+1
View File
@@ -7,6 +7,7 @@ import (
) )
const ( const (
Version = "1.3.0"
DefaultHost = "0.0.0.0" DefaultHost = "0.0.0.0"
DefaultPort = 8080 DefaultPort = 8080
DefaultTheme = "xterm" DefaultTheme = "xterm"
+1 -1
View File
@@ -73,7 +73,7 @@ func (s *TerminalSession) Open(width, height int) error {
return errors.New("empty command") return errors.New("empty command")
} }
cmd := exec.Command(argv[0], argv[1:]...) cmd := exec.Command(argv[0], argv[1:]...)
cmd.Env = append(os.Environ(), "TERM_PROGRAM=webterm-go", "TERM_PROGRAM_VERSION=0.0.0") cmd.Env = append(os.Environ(), "TERM_PROGRAM=webterm-go", "TERM_PROGRAM_VERSION="+Version)
file, err := pty.StartWithSize(cmd, &pty.Winsize{Cols: uint16(width), Rows: uint16(height)}) file, err := pty.StartWithSize(cmd, &pty.Winsize{Cols: uint16(width), Rows: uint16(height)})
if err != nil { if err != nil {
return err return err