rpgsheet

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 07be9c2cb3bff1d82ee732edd1be3429c6f1a567
parent e709acd1400de6119cbd06c3817048d482e8cf50
Author: Skylar Hill <stellarskylark@posteo.net>
Date:   Sun,  5 Jun 2022 21:13:26 -0500

Update help

Diffstat:
Msrc/tui.nim | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/tui.nim b/src/tui.nim @@ -168,6 +168,8 @@ l Select window to the right j Select next item in window k Select previous item in window e Edit selected item +r Rename selected item +n New item Enter Roll selected item ] Scroll description forward "[ Scroll description backward @@ -181,7 +183,11 @@ K Switch to previous tab :r[oll] <expression> Roll a dice expression or item in your character sheet. :w[rite] [optional-path] - Overwrite the current character sheet, or write to the given path.""" + Overwrite the current character sheet, or write to the given path. + :re[name] <old-name> <new-name> + Rename the item at <old-name> to <new-name> + :n[ew] <name> + Create a new item called <name>. Will overwrite any existing item at <name>.""" let lines = help.splitLines for i in 0..lines.high: tb.write(2, 1+i, lines[i])