Merge pull request #235 from sureshsundriyal/lo-fi

[lo-fi shortcut] Change shortcut to 'Ctrl-l'.
pull/237/head
Tim Stack 10 years ago
commit d780a03619

@ -1,8 +1,13 @@
lnav v0.7.4:
Features:
* Added support for 'VMware vSphere Auto Deploy' log format.
Fixes:
* Nested fields in JSON logs are now supported for levels, bodies, etc...
* Tab-completion should work for quoted SQL identifiers.
* 'lo-fi' mode key shortcut changed to CTRL+L.
* 'redraw' shortcut removed. Relegated to just a command.
lnav v0.7.3:
Features:

@ -193,7 +193,7 @@ Display
- Toggle the display of the log parser results
* - |ks| Tab |ke|
- Cycle through colums to graph in the SQL result view
* - |ks| Shift |ke| + |ks| l |ke|
* - |ks| Ctrl |ke| + |ks| l |ke|
- Switch to lo-fi mode. The displayed log lines will be dumped to the
terminal without any decorations so they can be copied easily.

@ -168,7 +168,7 @@ through the file.
t Switch to/from the text file view. The text file view is
for any files that are not recognized as log files.
L (Lo-fi mode) Exit screen-mode and write the
Ctrl-L (Lo-fi mode) Exit screen-mode and write the
displayed log lines in plain text to the terminal
until a key is pressed. Useful for copying long lines
from the terminal without picking up any of the extra
@ -326,8 +326,6 @@ through the file.
CTRL-W Toggle word-wrapping.
CTRL-L Force redraw the window.
r/R Restore the next/previous session. The current session is
saved and then the new state is restored.
@ -492,7 +490,7 @@ COMMANDS
Change the histogram zoom level to the given value, which
can be one of: day, 4-hour, hour, 10-minute, minute
redraw Force redraw the window (CTRL-L hotkey).
redraw Force redraw the window.
partition-name <name>
Mark the top line in the log view as the start of a new

@ -1778,7 +1778,7 @@ static void handle_paging_key(int ch)
}
break;
case 'L': {
case KEY_CTRL_L: {
vis_line_t top = tc->get_top();
vis_line_t bottom = tc->get_bottom();
char line_break[120];
@ -2361,10 +2361,6 @@ static void handle_paging_key(int ch)
"disable-word-wrap" : "enable-word-wrap");
break;
case KEY_CTRL_L:
execute_command("redraw");
break;
default:
log_warning("unhandled %d", ch);
lnav_data.ld_rl_view->set_value("Unrecognized keystroke, press "

Loading…
Cancel
Save