func updateStatus(status string) {
	statusView, err := g.View("status")
	if err != nil {
		cleanFatal(err)
	}
	fmt.Fprintf(statusView, "%s", status)
	if strings.HasSuffix(status, "\n") {
		cx, cy := statusView.Cursor()
		statusView.SetCursor(cx, cy+1)
		if cy == 3 {
			ox, oy := statusView.Origin()
			statusView.SetOrigin(ox, oy+1)
		}
	}
}
/**
 * Update the status view with more text.
 * Adding new line increments the cursor.
 */
Update the status view with more text.
Adding new line increments the cursor.
/ ** * Update the status view with more text . * Adding new line increments the cursor . * /
func updateStatus(status string) {
	statusView, err := g.View("status")
	if err != nil {
		cleanFatal(err)
	}
	fmt.Fprintf(statusView, "%s", status)
	if strings.HasSuffix(status, "\n") {
		cx, cy := statusView.Cursor()
		statusView.SetCursor(cx, cy+1)
		if cy == 3 {
			ox, oy := statusView.Origin()
			statusView.SetOrigin(ox, oy+1)
		}
	}
}
func updateStatus ( status string ) { statusView , err := g . View ( " " ) if err != nil { cleanFatal ( err ) } fmt . Fprintf ( statusView , " " , status ) if strings . HasSuffix ( status , " \n " ) { cx , cy := statusView . Cursor ( ) statusView . SetCursor ( cx , cy + 1 ) if cy == 3 { ox , oy := statusView . Origin ( ) statusView . SetOrigin ( ox , oy + 1 ) } } }
Update the status view with more text.
Update the status view with more text .