Rename: Hamlet -> Ham Lab (binary/module/service/config hamlab)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
436732dac0
commit
d76da4b37a
@@ -15,12 +15,12 @@ import (
|
||||
|
||||
"github.com/coder/websocket"
|
||||
|
||||
"hamlet/internal/auth"
|
||||
"hamlet/internal/config"
|
||||
"hamlet/internal/term"
|
||||
"hamlab/internal/auth"
|
||||
"hamlab/internal/config"
|
||||
"hamlab/internal/term"
|
||||
)
|
||||
|
||||
const cookieName = "hamlet_session"
|
||||
const cookieName = "hamlab_session"
|
||||
|
||||
type Server struct {
|
||||
cfg *config.Config
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
"golang.org/x/crypto/argon2"
|
||||
|
||||
"hamlet/internal/store"
|
||||
"hamlab/internal/store"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Package config loads and saves hamlet's JSON config file.
|
||||
// Package config loads and saves hamlab's JSON config file.
|
||||
package config
|
||||
|
||||
import (
|
||||
|
||||
@@ -87,7 +87,7 @@ func (m *Manager) Create(id, name string) (*Session, error) {
|
||||
}
|
||||
cmd := exec.Command(m.shell, "-l")
|
||||
cmd.Dir = m.home
|
||||
cmd.Env = append(os.Environ(), "TERM=xterm-256color", "COLORTERM=truecolor", "HAMLET=1")
|
||||
cmd.Env = append(os.Environ(), "TERM=xterm-256color", "COLORTERM=truecolor", "HAMLAB=1")
|
||||
ptmx, err := pty.StartWithSize(cmd, &pty.Winsize{Cols: defaultCol, Rows: defaultRow})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user