forked from varia/go-sh-manymanuals
refactor: naming convention
This commit is contained in:
parent
bec540d8e5
commit
48cb580a49
4
gshmm.go
4
gshmm.go
@ -195,8 +195,8 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
// TODO: implement cursor for scrolling up/down filtered
|
||||
// results so we can view the PDF contents as desired
|
||||
// it's currently just the last one (closest to input)
|
||||
lastdatasheet := m.filteredDatasheets[len(m.filteredDatasheets)-1]
|
||||
viewportText := m.datasheetFromName(lastdatasheet)
|
||||
lastDatasheet := m.filteredDatasheets[len(m.filteredDatasheets)-1]
|
||||
viewportText := m.datasheetFromName(lastDatasheet)
|
||||
m.datasheetViewport.SetContent(viewportText)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user