This commit is contained in:
aoife cassidy 2025-04-03 08:50:38 +03:00
parent a1843ba12b
commit 7227bdb531
No known key found for this signature in database
GPG Key ID: 7184AC1C9835CE48
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ func (view *Editor) Event(state *ui.State, event vaxis.Event) (processed bool) {
vt.TERM = os.Getenv("TERM") vt.TERM = os.Getenv("TERM")
vt.Attach(state.PostEvent()) vt.Attach(state.PostEvent())
vt.Focus() vt.Focus()
err := vt.Start(exec.Command("bash", "-l")) err := vt.Start(exec.Command("bash"))
if err != nil { if err != nil {
panic(err) panic(err)
} }

View File

@ -65,7 +65,7 @@ func (view *Shell) Event(state *ui.State, event vaxis.Event) (processed bool) {
vt.TERM = os.Getenv("TERM") vt.TERM = os.Getenv("TERM")
vt.Attach(state.PostEvent()) vt.Attach(state.PostEvent())
vt.Focus() vt.Focus()
err := vt.Start(exec.Command("bash", "-l")) err := vt.Start(exec.Command("bash"))
if err != nil { if err != nil {
panic(err) panic(err)
} }