mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-01-18 13:01:09 +01:00
Give more space to long calls on screen display
This commit is contained in:
parent
7c5c5b5eb3
commit
4732960e5a
2 changed files with 5 additions and 5 deletions
|
@ -78,7 +78,7 @@ func SprintHeaderValues(logLine LogLine) string {
|
|||
}
|
||||
|
||||
// Date, Time, band, mode, call, report sent, report rcvd, Notes
|
||||
var logLineFormat = "%-10s %-4s %-4s %-4s %-10s %-4s %-4s %s\n"
|
||||
var logLineFormat = "%-10s %-4s %-4s %-4s %-12s %-4s %-4s %s\n"
|
||||
|
||||
// SprintColumnTitles displays the column titles for a log line
|
||||
func SprintColumnTitles() string {
|
||||
|
|
|
@ -59,8 +59,8 @@ func ExampleSprintColumnTitles() {
|
|||
out := SprintColumnTitles()
|
||||
fmt.Print(out)
|
||||
//Output:
|
||||
//Date Time Band Mode Call Sent Rcvd Notes
|
||||
//---- ---- ---- ---- ---- ---- ---- ----
|
||||
//Date Time Band Mode Call Sent Rcvd Notes
|
||||
//---- ---- ---- ---- ---- ---- ---- ----
|
||||
}
|
||||
|
||||
func ExampleSprintLogRecord() {
|
||||
|
@ -158,7 +158,7 @@ func TestSprintLogInColumn(t *testing.T) {
|
|||
SOTA: "sota",
|
||||
WWFF: "wwff"},
|
||||
},
|
||||
"date time band mode call rstSent rstRcvd QRG: frequency [comment] [qslMessage] omName gridLoc wwff sota \n",
|
||||
"date time band mode call rstSent rstRcvd QRG: frequency [comment] [qslMessage] omName gridLoc wwff sota \n",
|
||||
},
|
||||
{
|
||||
"Minimal",
|
||||
|
@ -180,7 +180,7 @@ func TestSprintLogInColumn(t *testing.T) {
|
|||
RSTsent: "rstSent",
|
||||
RSTrcvd: "rstRcvd"},
|
||||
},
|
||||
"date time band mode call rstSent rstRcvd \n",
|
||||
"date time band mode call rstSent rstRcvd \n",
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
|
|
Loading…
Reference in a new issue