mirror of
https://github.com/tstack/lnav.git
synced 2024-10-26 13:16:11 +03:00
[config] add missing enum terminator
the terminator is needed in the enum_value_t array (I should really make it a real container...)
This commit is contained in:
parent
3990517fcb
commit
12d70f9996
@ -632,8 +632,7 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"top",
|
||||
"cursor",
|
||||
""
|
||||
"cursor"
|
||||
],
|
||||
"examples": [
|
||||
"top",
|
||||
|
@ -510,7 +510,10 @@ static const struct json_path_container keymap_defs_handlers = {
|
||||
|
||||
static const json_path_handler_base::enum_value_t _movement_values[] = {
|
||||
{"top", config_movement_mode::TOP},
|
||||
{"cursor", config_movement_mode::CURSOR}};
|
||||
{"cursor", config_movement_mode::CURSOR},
|
||||
|
||||
json_path_handler_base::ENUM_TERMINATOR,
|
||||
};
|
||||
|
||||
static const struct json_path_container movement_handlers = {
|
||||
yajlpp::property_handler("mode")
|
||||
|
@ -383,6 +383,9 @@ can always use [37m[40m q [0m to pop the top view off of the stack.
|
||||
x Toggle the hiding of log message fields. The
|
||||
hidden fields will be replaced with three bullets
|
||||
and highlighted in yellow.
|
||||
CTRL-X Toggle the cursor mode. Allows moving the selected
|
||||
line instead of keeping it fixed at the top of the
|
||||
current screen.
|
||||
F2 Toggle mouse support.
|
||||
|
||||
[4mQuery[0m
|
||||
|
@ -1,4 +1,4 @@
|
||||
[4mMin: 0 [0m[4m[42m [0m[4m 1-23 [0m[4m[43m [0m[4m 24-48 [0m[4m[41m [0m[4m 49+[0m[4m Max: 291690[0m
|
||||
[41m [0m[43mT[0m[42mh[0m[42mu[0m[42m [0m[42mN[0m[42mo[0m[42mv[0m[42m [0m[42m0[0m[42m3[0m[42m [0m[42m0[0m[42m0[0m:1[42m5[0m:00[42m [0m [42m [0m[42m [0m [42m [0m[42m [0m [42m [0m [42m [0m [42m [0m [42m [0m
|
||||
[1m[4m[36m[41m [0m[1m[4m[36m[43mT[0m[1m[4m[36m[42mh[0m[1m[4m[36m[42mu[0m[1m[4m[36m[42m [0m[1m[4m[36m[42mN[0m[1m[4m[36m[42mo[0m[1m[4m[36m[42mv[0m[1m[4m[36m[42m [0m[1m[4m[36m[42m0[0m[1m[4m[36m[42m3[0m[1m[4m[36m[42m [0m[1m[4m[36m[42m0[0m[1m[4m[36m[42m0[0m[1m[4m[36m[41m:1[0m[1m[4m[36m[42m5[0m[1m[4m[36m[41m:00[0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m[1m[4m[36m[41m [0m[1m[4m[36m[42m [0m
|
||||
▲ [1m70[0m values in the range [1m0.00[0m-[1m3788.18[0m
|
||||
[43m [0m[42mT[0m[42mh[0m[42mu[0m[42m [0m[42mN[0m[42mo[0mv[42m [0m03 [42m0[0m0:[42m2[0m0:00
|
||||
|
Loading…
Reference in New Issue
Block a user