mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
refactor: changed color of commit message field to match rest of TUI
This commit is contained in:
@@ -16,7 +16,9 @@ import (
|
||||
|
||||
var content string
|
||||
|
||||
var helpStyle_us = lipgloss.NewStyle().Foreground(lipgloss.Color("241")).Render
|
||||
var (
|
||||
helpStyle_us = lipgloss.NewStyle().Foreground(lipgloss.Color("241")).Render
|
||||
)
|
||||
|
||||
type example struct {
|
||||
viewport viewport.Model
|
||||
@@ -82,6 +84,10 @@ func (e example) helpView() string {
|
||||
|
||||
func Entry_US(author_file string) {
|
||||
file, err := os.Open(author_file)
|
||||
if err != nil {
|
||||
fmt.Println("Could not open file:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
scanner := bufio.NewScanner(file)
|
||||
var cnt strings.Builder
|
||||
|
||||
Reference in New Issue
Block a user