Skip to content

Commit

Permalink
Fixed detail for first item
Browse files Browse the repository at this point in the history
  • Loading branch information
cgxeiji committed Nov 2, 2018
1 parent 28f51a2 commit f5ad20f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scholar/cmd/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ func layout(g *gocui.Gui) error {
vd.Clear()
if len(showList) > 0 && cy+oy < len(showList) {
formatEntryInfo(vd, showList[cy+oy])
//fmt.Fprint(vd, showList[cy+oy].Bib())
}

return nil
Expand All @@ -384,7 +383,7 @@ func layout(g *gocui.Gui) error {
}
v.Title = "DETAILS"
v.Wrap = true
fmt.Fprint(v, showList[0].Bib())
formatEntryInfo(v, showList[0])
}
return nil
}
Expand Down

0 comments on commit f5ad20f

Please sign in to comment.