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
3
3
import (
4
4
"github.com/jesseduffield/lazygit/pkg/commands/models"
5
5
"github.com/jesseduffield/lazygit/pkg/gui/context"
6
+ "github.com/jesseduffield/lazygit/pkg/gui/style"
6
7
"github.com/jesseduffield/lazygit/pkg/gui/types"
7
8
"github.com/jesseduffield/lazygit/pkg/utils"
8
9
)
@@ -82,8 +83,10 @@ func (self *StashController) GetOnRenderToMain() func() {
82
83
if stashEntry == nil {
83
84
task = types .NewRenderStringTask (self .c .Tr .NoStashEntries )
84
85
} else {
85
- task = types .NewRunPtyTask (
86
+ prefix := style .FgYellow .Sprintf ("%s\n \n " , stashEntry .Description ())
87
+ task = types .NewRunPtyTaskWithPrefix (
86
88
self .c .Git ().Stash .ShowStashEntryCmdObj (stashEntry .Index ).GetCmd (),
89
+ prefix ,
87
90
)
88
91
}
89
92
You can’t perform that action at this time.
0 commit comments