updateFooterWithStatus updates the footer with a status message
(status string)
| 98 | |
| 99 | // updateFooterWithStatus updates the footer with a status message |
| 100 | func updateFooterWithStatus(status string) { |
| 101 | statusMessage = status |
| 102 | if mainPage != nil { |
| 103 | // Update the footer by rebuilding it |
| 104 | mainPage.Clear() |
| 105 | mainPage.AddText(fileNameStr, false, tview.AlignLeft, tcell.ColorDarkOrange). |
| 106 | AddText(status, false, tview.AlignCenter, tcell.ColorDarkOrange). |
| 107 | AddText(cursorPosStr, false, tview.AlignRight, tcell.ColorDarkOrange) |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | //help page content |
no outgoing calls
no test coverage detected