aboutsummaryrefslogtreecommitdiff
path: root/docs/feature_terminal.md
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/feature_terminal.md
parentf756b72167a573640d2427920603fa369c7949ae (diff)
downloadqmk_firmware-5112af887ae59c9c54eabaec5c1ae2f5a53de180.tar.gz
qmk_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/feature_terminal.md')
-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
14 14
15`#define TERMINAL_HELP` enables some other output helpers that aren't really needed with this page. 15`#define TERMINAL_HELP` enables some other output helpers that aren't really needed with this page.
16 16
17Pressing "up" and "down" will allow you to cycle through the past 5 commands entered.
18
17## Future Ideas 19## Future Ideas
18 20
19* Keyboard/user-extensible commands 21* Keyboard/user-extensible commands
20* Smaller footprint 22* Smaller footprint
21* Arrow key support 23* Arrow key support
22* Command history 24* Command history - Done
23* SD card support 25* SD card support
24* LCD support for buffer display 26* LCD support for buffer display
25* Keycode -> name string LUT 27* Keycode -> name string LUT
@@ -43,14 +45,39 @@ QMK Firmware
43 Built: 2017-08-29-20:24:44 45 Built: 2017-08-29-20:24:44
44``` 46```
45 47
48
49### `print-buffer`
50
51Outputs the last 5 commands entered
52
53```
54> print-buffer
550. print-buffer
561. help
572. about
583. keymap 0
594. help
605. flush-buffer
61```
62
63### `flush-buffer`
64
65Clears command buffer
66```
67> flush-buffer
68Buffer cleared!
69```
70
71
46### `help` 72### `help`
47 73
74
48Prints out the available commands: 75Prints out the available commands:
49 76
50``` 77```
51> help 78> help
52commands available: 79commands available:
53 about help keycode keymap exit 80 about help keycode keymap exit print-buffer flush-buffer
54``` 81```
55 82
56### `keycode <layer> <row> <col>` 83### `keycode <layer> <row> <col>`