Skip to content

Commit 86f674b

Browse files
authored
Merge pull request #71 from adeeshperera/main
2 parents 9e41121 + d9cee41 commit 86f674b

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

cmd/cli/createMsg.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func CreateCommitMsg () {
151151
os.Exit(1)
152152
}
153153

154-
spinnerGenerating.Success("Commit message generated successfully!")
154+
spinnerGenerating.Success("Commit message generated successfully!")
155155

156156
pterm.Println()
157157

@@ -161,9 +161,9 @@ func CreateCommitMsg () {
161161
// Copy to clipboard
162162
err = clipboard.WriteAll(commitMsg)
163163
if err != nil {
164-
pterm.Warning.Printf("⚠️ Could not copy to clipboard: %v\n", err)
164+
pterm.Warning.Printf("Could not copy to clipboard: %v\n", err)
165165
} else {
166-
pterm.Success.Println("📋 Commit message copied to clipboard!")
166+
pterm.Success.Println("Commit message copied to clipboard!")
167167
}
168168

169169
pterm.Println()

internal/display/display.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ type FileStatistics struct {
1818

1919
// ShowFileStatistics displays file statistics with colored output
2020
func ShowFileStatistics(stats *FileStatistics) {
21-
pterm.DefaultSection.Println("📊 Changes Summary")
21+
pterm.DefaultSection.Println("Changes Summary")
2222

2323
// Create bullet list items
2424
bulletItems := []pterm.BulletListItem{}
2525

2626
if len(stats.StagedFiles) > 0 {
2727
bulletItems = append(bulletItems, pterm.BulletListItem{
2828
Level: 0,
29-
Text: pterm.Green(fmt.Sprintf("Staged files: %d", len(stats.StagedFiles))),
29+
Text: pterm.Green(fmt.Sprintf("Staged files: %d", len(stats.StagedFiles))),
3030
TextStyle: pterm.NewStyle(pterm.FgGreen),
3131
BulletStyle: pterm.NewStyle(pterm.FgGreen),
3232
})
@@ -49,7 +49,7 @@ func ShowFileStatistics(stats *FileStatistics) {
4949
if len(stats.UnstagedFiles) > 0 {
5050
bulletItems = append(bulletItems, pterm.BulletListItem{
5151
Level: 0,
52-
Text: pterm.Yellow(fmt.Sprintf("⚠️ Unstaged files: %d", len(stats.UnstagedFiles))),
52+
Text: pterm.Yellow(fmt.Sprintf("Unstaged files: %d", len(stats.UnstagedFiles))),
5353
TextStyle: pterm.NewStyle(pterm.FgYellow),
5454
BulletStyle: pterm.NewStyle(pterm.FgYellow),
5555
})
@@ -72,7 +72,7 @@ func ShowFileStatistics(stats *FileStatistics) {
7272
if len(stats.UntrackedFiles) > 0 {
7373
bulletItems = append(bulletItems, pterm.BulletListItem{
7474
Level: 0,
75-
Text: pterm.Cyan(fmt.Sprintf("📝 Untracked files: %d", len(stats.UntrackedFiles))),
75+
Text: pterm.Cyan(fmt.Sprintf("Untracked files: %d", len(stats.UntrackedFiles))),
7676
TextStyle: pterm.NewStyle(pterm.FgCyan),
7777
BulletStyle: pterm.NewStyle(pterm.FgCyan),
7878
})
@@ -97,7 +97,7 @@ func ShowFileStatistics(stats *FileStatistics) {
9797

9898
// ShowCommitMessage displays the commit message in a styled panel
9999
func ShowCommitMessage(message string) {
100-
pterm.DefaultSection.Println("📝 Generated Commit Message")
100+
pterm.DefaultSection.Println("Generated Commit Message")
101101

102102
// Create a panel with the commit message
103103
panel := pterm.DefaultBox.
@@ -116,7 +116,7 @@ func ShowCommitMessage(message string) {
116116

117117
// ShowChangesPreview displays a preview of changes with line statistics
118118
func ShowChangesPreview(stats *FileStatistics) {
119-
pterm.DefaultSection.Println("🔍 Changes Preview")
119+
pterm.DefaultSection.Println("Changes Preview")
120120

121121
// Create info boxes
122122
if stats.LinesAdded > 0 || stats.LinesDeleted > 0 {

0 commit comments

Comments
 (0)