Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Akatsuki7629 committed May 23, 2022
1 parent b736fc4 commit a4a6493
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions table.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ type Table struct {
// NewTable returns a new Table instance
func NewTable() *Table {
return &Table{
Block: ui.NewBlock(),
SelectedRow: 0,
TopRow: 0,
UniqueCol: 0,
ColResizer: func() {},
ShowCursor: true,
CursorColor: ui.CellClear.Style.Fg,
ShowLocation: true,
Block: ui.NewBlock(),
SelectedRow: 0,
TopRow: 0,
UniqueCol: 0,
ColResizer: func() {},
ShowCursor: true,
CursorColor: ui.CellClear.Style.Fg,
ShowLocation: true,
}
}

Expand Down
2 changes: 1 addition & 1 deletion ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NewUI() *UI {
HeaderText: defaultHeaderText,
HelpDoc: defaultHelpDoc,

Sidebar: widgets.NewTree(),
Sidebar: widgets.NewTree(),
MainContent: NewTable(),
Tiles: []Tile{SidebarTile, MainContentTile, SearchBoxTile, HelpTile, CommentsTile},
Focus: SidebarTile,
Expand Down

0 comments on commit a4a6493

Please sign in to comment.