Documentation ¶
Index ¶
- func AddNewTodo(todos *[]models.Todo, msg string)
- func CleanTodos(todos *[]models.Todo)
- func CreatePrompt() textinput.Model
- func CursorFocusOnLast(cursor *int, todos []models.Todo)
- func EditTodo(todo *models.Todo, newText string)
- func EnsureCursorIsVisible(cursor *int, todos []models.Todo)
- func ExitPrompt(input *textinput.Model, mode *bool)
- func FilterPendingTodos(todos []models.Todo) []models.Todo
- func Load() []models.Todo
- func MarkTodo(todo *models.Todo)
- func Save(todos []models.Todo)
- func SetPromptByTodo(input *textinput.Model, todo models.Todo)
- func ShiftDown(cursor *int, todos *[]models.Todo)
- func ShiftUp(cursor *int, todos *[]models.Todo)
- func ToogleTodo(todo *models.Todo)
- func UpdateCursor(cursor *int, limit int, direction string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewTodo ¶
func CleanTodos ¶
func CreatePrompt ¶
func CursorFocusOnLast ¶
func EnsureCursorIsVisible ¶
func ExitPrompt ¶
func ToogleTodo ¶
func UpdateCursor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.