mirror of
https://github.com/RWejlgaard/org.git
synced 2026-09-02 01:15:35 +00:00
chore: drop vestigial state constants, mention DONE add in settings help
This commit is contained in:
parent
c39c24cbfd
commit
080e8b0ee5
2 changed files with 4 additions and 6 deletions
|
|
@ -4,9 +4,7 @@ package model
|
|||
type TodoState string
|
||||
|
||||
const (
|
||||
StateTODO TodoState = "TODO"
|
||||
StatePROG TodoState = "PROG"
|
||||
StateBLOCK TodoState = "BLOCK"
|
||||
StateDONE TodoState = "DONE"
|
||||
StateNone TodoState = ""
|
||||
// StateNone is the empty (no TODO keyword) state. Concrete TODO states are
|
||||
// user-configurable (see config.States), so they are not hardcoded here.
|
||||
StateNone TodoState = ""
|
||||
)
|
||||
|
|
|
|||
|
|
@ -545,7 +545,7 @@ func (m *uiModel) viewSettings() string {
|
|||
case settingsSectionTags:
|
||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit • D: Delete\nc: Add new tag • ctrl+s: Save • q/,: Exit"
|
||||
case settingsSectionStates:
|
||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • shift+↑/↓: Reorder • Enter: Edit\nD: Delete • c: Add new state • ctrl+s: Save • q/,: Exit"
|
||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • shift+↑/↓: Reorder • Enter: Edit\nD: Delete • c: Add new (or DONE) state • ctrl+s: Save • q/,: Exit"
|
||||
case settingsSectionKeybindings:
|
||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit keybinding\nctrl+s: Save • q/,: Exit"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue