File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 29
29
listTitleBarStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#000000" )).Padding (1 , 0 )
30
30
docStyle = lipgloss .NewStyle ().Margin (1 , 2 )
31
31
32
- inputStyle = lipgloss .NewStyle ().Margin (1 , 0 )
32
+ inputStyle = lipgloss .NewStyle ().Margin (1 , 0 )
33
+ successStyle = lipgloss .NewStyle ().Bold (true ).Foreground (lipgloss .Color ("#95E745" ))
33
34
)
34
35
35
36
type model struct {
@@ -235,11 +236,13 @@ func main() {
235
236
fail ("Error: %s" , err )
236
237
}
237
238
238
- p := tea .NewProgram (initialModel (branchTypes , jiraBoards ), tea . WithAltScreen () )
239
+ p := tea .NewProgram (initialModel (branchTypes , jiraBoards ))
239
240
if _ , err := p .Run (); err != nil {
240
241
fmt .Println (err )
241
242
os .Exit (1 )
242
243
}
244
+ currentBranch , _ := git .GetCurrentGitBranch ()
245
+ fmt .Println (successStyle .Render ("Now on branch " + currentBranch ))
243
246
}
244
247
245
248
func fail (format string , args ... interface {}) {
You can’t perform that action at this time.
0 commit comments