aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorM1K <michael@m1k.me>2018-05-01 18:39:46 +0100
committerJack Humbert <jack.humb@gmail.com>2018-05-01 13:39:46 -0400
commit5112af887ae59c9c54eabaec5c1ae2f5a53de180 (patch)
treeb5ec0dfbc99af7eb3890e9e661aca7d57836fa89 /docs
parentf756b72167a573640d2427920603fa369c7949ae (diff)
downloadfirmware-5112af887ae59c9c54eabaec5c1ae2f5a53de180.tar.gz
firmware-5112af887ae59c9c54eabaec5c1ae2f5a53de180.tar.bz2
firmware-5112af887ae59c9c54eabaec5c1ae2f5a53de180.zip
Added command history to terminal with other bug fixes, added new song to song_list.h (#2855)
* Implemented Terminal + added song to song_list.h * Added wait() in order to prevent misbehaviour of 'command not found'
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_terminal.md31
1 files changed, 29 insertions, 2 deletions
diff --git a/docs/feature_terminal.md b/docs/feature_terminal.md
index 334a46c2d..1863599f8 100644
--- a/docs/feature_terminal.md
+++ b/docs/feature_terminal.md
@@ -14,12 +14,14 @@ When enabled, a `> ` prompt will appear, where you'll be able to type, backspace
`#define TERMINAL_HELP` enables some other output helpers that aren't really needed with this page.
+Pressing "up" and "down" will allow you to cycle through the past 5 commands entered.
+
## Future Ideas
* Keyboard/user-extensible commands
* Smaller footprint
* Arrow key support
-* Command history
+* Command history - Done
* SD card support
* LCD support for buffer display
* Keycode -> name string LUT
@@ -43,14 +45,39 @@ QMK Firmware
Built: 2017-08-29-20:24:44
```
+
+### `print-buffer`
+
+Outputs the last 5 commands entered
+
+```
+> print-buffer
+0. print-buffer
+1. help
+2. about
+3. keymap 0
+4. help
+5. flush-buffer
+```
+
+### `flush-buffer`
+
+Clears command buffer
+```
+> flush-buffer
+Buffer cleared!
+```
+
+
### `help`
+
Prints out the available commands:
```
> help
commands available:
- about help keycode keymap exit
+ about help keycode keymap exit print-buffer flush-buffer
```
### `keycode <layer> <row> <col>`