Documentation
¶
Overview ¶
Provides necessary models for the application.
Index ¶
Constants ¶
View Source
const APP_NAME = "Notepad--"
Variables ¶
This section is empty.
Functions ¶
func GetTemporaryTitle ¶
Used to generate a temporary title if no file was used
Types ¶
type AppState ¶
type AppState struct { AppName string Filename string FileModified bool Screen tcell.Screen TextBuffer textbuffer.TextBuffer BarStyle tcell.Style TextboxStyle tcell.Style ButtonStyle tcell.Style ButtonActiveStyle tcell.Style Options Options }
func InitialiseAppState ¶
Click to show internal directories.
Click to hide internal directories.