package editor import ( "github.com/gdamore/tcell/v2" "github.com/rivo/tview" ) func New(app *tview.Application) *tview.TextArea { view := tview.NewTextArea() view.SetBackgroundColor(tcell.ColorDefault) view.SetTextStyle(tcell.StyleDefault) view.SetText("Having been erased,\nThe document you're seeking\nMust now be retyped.", true) return view }