~psic4t/qcal

bcda7ee30c759dadbef1be46c9ac482f04c1f1d9 — psic4t 7 months ago 4d73b79 0.8.5
adjust colorBlock
2 files changed, 5 insertions(+), 5 deletions(-)

M defines.go
M helpers.go
M defines.go => defines.go +3 -3
@@ 23,13 23,13 @@ var startDateUTC string
var endDateUTC string
var summary string
var toFile bool
var elements []Event
var qcalversion string = "0.8.5"

var colorBlock1 string = "█"
var colorBlock string = "|"
var elements []Event
var currentDot string = "•"
var Colors = [10]string{"\033[0;31m", "\033[0;32m", "\033[1;33m", "\033[1;34m", "\033[1;35m", "\033[1;36m", "\033[1;37m", "\033[1;38m", "\033[1;39m", "\033[1;40m"}
var showColor bool = true
var qcalversion string = "0.8.5"

const (
	ConfigDir      = ".config/qcal"

M helpers.go => helpers.go +2 -2
@@ 119,7 119,7 @@ func (e Event) fancyOutput() {
	if e.Start.Format(timeFormat) == e.End.Format(timeFormat) {
		if showColor {
			if e.Start.Format(IcsFormatWholeDay) == time.Now().Format(IcsFormatWholeDay) {
				fmt.Print(e.Color + colorBlock + ColWhite + ` `)
				fmt.Print(e.Color + colorBlock + currentDot + ColDefault)
			} else {
				fmt.Print(e.Color + colorBlock + ColDefault + ` `)
			}


@@ 136,7 136,7 @@ func (e Event) fancyOutput() {
	} else {
		if showColor {
			if e.Start.Format(IcsFormatWholeDay) == time.Now().Format(IcsFormatWholeDay) {
				fmt.Print(e.Color + colorBlock + ColWhite + ` `)
				fmt.Print(e.Color + colorBlock + currentDot + ColDefault)
			} else {
				fmt.Print(e.Color + colorBlock + ColDefault + ` `)
			}