mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
refactor: change user tui printout to remove weird line missalignment
This commit is contained in:
@@ -109,7 +109,7 @@ func loadData(author_file string) {
|
||||
|
||||
for scanner.Scan() {
|
||||
//very hacky it basically just ensure glamour doesn't format the email
|
||||
cnt.WriteString(":\b" + scanner.Text() + "\n")
|
||||
cnt.WriteString(" " + scanner.Text() + "\n")
|
||||
}
|
||||
|
||||
content = cnt.String()
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/Slug-Boi/cocommit/src_code/go_src/cmd/tui"
|
||||
"github.com/Slug-Boi/cocommit/src_code/go_src/cmd/utils"
|
||||
"os"
|
||||
"os/exec"
|
||||
"slices"
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/Slug-Boi/cocommit/src_code/go_src/cmd/tui"
|
||||
"github.com/Slug-Boi/cocommit/src_code/go_src/cmd/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user