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
|
type TodoState string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StateTODO TodoState = "TODO"
|
// StateNone is the empty (no TODO keyword) state. Concrete TODO states are
|
||||||
StatePROG TodoState = "PROG"
|
// user-configurable (see config.States), so they are not hardcoded here.
|
||||||
StateBLOCK TodoState = "BLOCK"
|
StateNone TodoState = ""
|
||||||
StateDONE TodoState = "DONE"
|
|
||||||
StateNone TodoState = ""
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -545,7 +545,7 @@ func (m *uiModel) viewSettings() string {
|
||||||
case settingsSectionTags:
|
case settingsSectionTags:
|
||||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit • D: Delete\nc: Add new tag • ctrl+s: Save • q/,: Exit"
|
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit • D: Delete\nc: Add new tag • ctrl+s: Save • q/,: Exit"
|
||||||
case settingsSectionStates:
|
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:
|
case settingsSectionKeybindings:
|
||||||
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit keybinding\nctrl+s: Save • q/,: Exit"
|
instructions = "←/→: Switch tabs • ↑/↓: Navigate • Enter: Edit keybinding\nctrl+s: Save • q/,: Exit"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue