func (n *TailFileWidget) Init() (err error) {
	if n.options.Path[0:1] == "/" {
		n.path = n.options.Path
	} else {
		n.path = "./" + n.options.ExecPath + "/" + n.options.Path
	}
	lopt := &listable.ListWrapperOption{
		Title:      n.options.GetTitle(),
		RealHeight: n.options.GetHeight(),
	}
	n.renderer = listable.NewListWrapper(lopt)
	n.isReady = true
	n.tail()
	return
}
// Init is the implementation of stack.Init
Init is the implementation of stack.Init
// Init is the implementation of stack . Init
func (n *TailFileWidget) Init() (err error) {
	if n.options.Path[0:1] == "/" {
		n.path = n.options.Path
	} else {
		n.path = "./" + n.options.ExecPath + "/" + n.options.Path
	}
	lopt := &listable.ListWrapperOption{
		Title:      n.options.GetTitle(),
		RealHeight: n.options.GetHeight(),
	}
	n.renderer = listable.NewListWrapper(lopt)
	n.isReady = true
	n.tail()
	return
}
func ( n * TailFileWidget ) Init ( ) ( err error ) { if n . options . Path [ 0 : 1 ] == " " { n . path = n . options . Path } else { n . path = " " + n . options . ExecPath + " " + n . options . Path } lopt := & listable . ListWrapperOption { Title : n . options . GetTitle ( ) , RealHeight : n . options . GetHeight ( ) , } n . renderer = listable . NewListWrapper ( lopt ) n . isReady = true n . tail ( ) return }
Init is the implementation of stack.Init
Init is the implementation of stack . Init