File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package controllers
33import (
44 "github.com/jesseduffield/lazygit/pkg/commands/models"
55 "github.com/jesseduffield/lazygit/pkg/gui/context"
6+ "github.com/jesseduffield/lazygit/pkg/gui/style"
67 "github.com/jesseduffield/lazygit/pkg/gui/types"
78 "github.com/jesseduffield/lazygit/pkg/utils"
89)
@@ -82,8 +83,10 @@ func (self *StashController) GetOnRenderToMain() func() {
8283 if stashEntry == nil {
8384 task = types .NewRenderStringTask (self .c .Tr .NoStashEntries )
8485 } else {
85- task = types .NewRunPtyTask (
86+ prefix := style .FgYellow .Sprintf ("%s\n \n " , stashEntry .Description ())
87+ task = types .NewRunPtyTaskWithPrefix (
8688 self .c .Git ().Stash .ShowStashEntryCmdObj (stashEntry .Index ).GetCmd (),
89+ prefix ,
8790 )
8891 }
8992
You can’t perform that action at this time.
0 commit comments