func (w *ItemWidget) SetContent(content string, title string) {
	w.g.Update(func(g *gocui.Gui) error {
		w.content = content
		// Reset the cursor and origin (scroll poisition)
		// so we don't start at the bottom of a new doc
		w.view.SetCursor(0, 0) //nolint: errcheck
		w.view.SetOrigin(0, 0) //nolint: errcheck
		w.view.Title = title
		return nil
	})
}
// SetContent displays the string in the itemview
SetContent displays the string in the itemview
// SetContent displays the string in the itemview
func (w *ItemWidget) SetContent(content string, title string) {
	w.g.Update(func(g *gocui.Gui) error {
		w.content = content
		w.view.SetCursor(0, 0) 
		w.view.SetOrigin(0, 0) 
		w.view.Title = title
		return nil
	})
}
func ( w * ItemWidget ) SetContent ( content string , title string ) { w . g . Update ( func ( g * gocui . Gui ) error { w . content = content w . view . SetCursor ( 0 , 0 ) w . view . SetOrigin ( 0 , 0 ) w . view . Title = title return nil } ) }
SetContent displays the string in the itemview
SetContent displays the string in the itemview
// Reset the cursor and origin (scroll poisition) // so we don't start at the bottom of a new doc //nolint: errcheck //nolint: errcheck