Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
 * Fixed formatting in _examples/table.go
 * Fixed formatting in view.go

Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
  • Loading branch information
glvr182 committed Jun 24, 2019
1 parent 9646e38 commit 188c59e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions _examples/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ func main() {

table := NewTable("t", 1, 2, 80, 10)
table.Columns = []Column{
Column{"Column1", 0.25},
Column{"Column2", 0.25},
Column{"Column3", 0.25},
Column{"Column4", 0.25},
{"Column1", 0.25},
{"Column2", 0.25},
{"Column3", 0.25},
{"Column4", 0.25},
}
table.Data = [][]string{
[]string{"00", "01", "02", "03"},
[]string{"10", "11", "12", "13"},
[]string{"20", "21", "22", "23"},
[]string{"30", "31", "32", "33"},
{"00", "01", "02", "03"},
{"10", "11", "12", "13"},
{"20", "21", "22", "23"},
{"30", "31", "32", "33"},
}
g.SetManager(table)

Expand Down
2 changes: 1 addition & 1 deletion view.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type View struct {
ei *escapeInterpreter // used to decode ESC sequences on Write

// Visible specifies whether the view is visible.
Visible bool
Visible bool

// BgColor and FgColor allow to configure the background and foreground
// colors of the View.
Expand Down

0 comments on commit 188c59e

Please sign in to comment.