0
0
Fork 0

Updates reame and chalk to dot syntax

This commit is contained in:
sloum 2020-04-22 22:26:21 -07:00
parent e40553d4a5
commit f17bde0e15
2 changed files with 14 additions and 13 deletions

View File

@ -17,18 +17,19 @@ Commands are entered as the only text on their row. Enter the command and press
| Command | Action |
|:-------:|:------------------------------------------------------------------------------:|
| !? | Print the command list |
| !g | Print the GUIDE (ruler) |
| !d | DISPLAY the whole file |
| !v | VIEW a portion of the file |
| !# | EDIT a line (eg. "!23" to edit line 23) |
| !i | INSERT blank rows (will prompt for location and count) |
| !x | CUT rows (will prompt for range and then add the cut data to the paste buffer) |
| !c | COPY rows to the paste buffer (will prompt for range) |
| !p | PASTE from the paste buffer (will prompt for location) |
| !b | Print the contents of the paste BUFFER |
| !s | SAVE any unsaved changes to the document |
| !a | Save AS (will prompt for new path) |
| .? | Print the command list |
| .a | Save AS (will prompt for new path) |
| .g | Print the GUIDE (ruler) |
| .d | DISPLAY the whole file |
| .v | VIEW a portion of the file |
| .m | View MORE (use after having called .v to view more of the file) |
| .# | EDIT a line (eg. "!23" to edit line 23) |
| .i | INSERT blank rows (will prompt for location and count) |
| .x | CUT rows (will prompt for range and then add the cut data to the paste buffer) |
| .c | COPY rows to the paste buffer (will prompt for range) |
| .p | PASTE from the paste buffer (will prompt for location) |
| .b | Print the contents of the paste BUFFER |
| .s | SAVE any unsaved changes to the document |
| . | Quit chalk (will prompt for save if there are unsaved changes) |

2
chalk
View File

@ -146,7 +146,7 @@ def print_ruler():
def print_banner(fn):
print('\n Chalk 1.0 by sloum')
print('\n{} Writing:{} {}{}'.format(c.yellow, c.white, fn, c.end))
print(" For a command list, enter {}!?\n{}".format(c.green, c.end))
print(" For a command list, enter {}.?\n{}".format(c.green, c.end))
# Build contents from file sets the absolute