Persist Task Ids when Archiving

This commit is contained in:
2019-02-22 17:29:23 -06:00
parent ff8a0ec0b7
commit 7c0edd1871
3 changed files with 44 additions and 59 deletions

View File

@@ -39,15 +39,14 @@ func (screen *AboutScreen) initialize(bundle Bundle) error {
Command{"j,↓", "down"},
Command{"k,↑", "up"},
Command{"l,→", "open task"},
Command{"[space]", "toggle task complete"},
Command{"g", "goto top"},
Command{"G", "goto bottom"},
Command{"ctrl+f", "jump down"},
Command{"ctrl+b", "jump up"},
}
screen.commandsCol2 = []Command{
Command{"r", "rename pair/bucket"},
Command{"D", "move task to done.txt"},
Command{"x,X", "export as string/json to file"},
Command{"?", "this screen"},
Command{"q", "quit program"},
}
@@ -79,7 +78,7 @@ func (screen *AboutScreen) drawScreen() {
}
screen.drawCommandsAtPoint(screen.commandsCol1, col1XPos, yPos)
screen.drawCommandsAtPoint(screen.commandsCol2, col2XPos, yPos)
exitTxt := "Press any key to return to tasks " + fmt.Sprintf("%d", width)
exitTxt := "Press any key to return to tasks"
termboxUtil.DrawStringAtPoint(exitTxt, (width-len(exitTxt))/2, height-1, TitleFg, TitleBg)
}