tChange help text to line up - scoreboard - Interactive scoreboard for CTF-like games
 (HTM) git clone git://git.z3bra.org/scoreboard.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit e4196b7baff7cd306d9c532e4900eff72c8b8f93
 (DIR) parent e64e15888e10934f5d3ee1c75facb402562a0549
 (HTM) Author: Willy Goiffon <contact@z3bra.org>
       Date:   Tue,  1 Oct 2024 01:11:02 +0200
       
       Change help text to line up
       
       Diffstat:
         M ui.go                               |      10 ++++++----
       
       1 file changed, 6 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/ui.go b/ui.go
       t@@ -12,9 +12,11 @@ import (
        const (
                HELP_TEXT = `
        
       -Press H for help
       -Press L to login
       -ENTER for badges
       +
       +H  Display Help
       +L  Log in      
       +R  Register    
       +↲  Show Badges 
        
        
         Log in and select your name to see your flags
       t@@ -115,7 +117,7 @@ func (a *Application) SetupFrame() {
                grid.AddItem(a.board, 1, 0, 1, 1, BOARD_HEIGHT, BOARD_WIDTH, true)
        
                a.frame = tview.NewFrame(grid)
       -        a.frame.AddText(fmt.Sprintf("press 'h' for help"), false, tview.AlignCenter, 0)
       +        a.frame.AddText(fmt.Sprintf("Press H for help"), false, tview.AlignCenter, 0)
        }
        
        func (a *Application) DrawBoard() {