Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaya-Sem committed Sep 27, 2024
1 parent e0985b1 commit f62e430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tables/detailView.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ func buildDetailView(conn api.Connection) string {
yellow := "\033[33m"
italic := "\033[3m" // ANSI escape code for italic
red := "\033[31m" // ANSI escape code for red
reset := "\033[0m" // Reset color
reset := "\033[0m" // ANSI Reset color

// Start building the output string
output := "\n"
output += " " + cmd.UnixToHHMM(conn.Departure.Time) + " " + yellow + "S" + reset + " " + conn.Departure.Station + "\n"
output += " " + wred + cmd.FormatDelay(conn.Departure.Delay) + reset + yellow + " ┃" + reset + " " + italic + conn.Departure.VehicleInfo.ShortName + reset + "\n"
output += " " + red + cmd.FormatDelay(conn.Departure.Delay) + reset + yellow + " ┃" + reset + " " + italic + conn.Departure.VehicleInfo.ShortName + reset + "\n"
output += yellow + " ┃ " + reset + "\n"
output += yellow + " ┃ " + reset + "\n"

Expand Down

0 comments on commit f62e430

Please sign in to comment.