diff --git a/README.md b/README.md index 680d6da..272eef2 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,7 @@ a nil value do not call `error()`, so the debugger won't get triggered. * Arrow keys or h/j/k/l for movement within the active pane (yellow border); scroll wheel also works, but only for vertical scrolling. Shift+h/j/k/l moves 10 lines at a time. * Press 'c' to select the call stack pane * Press 's' to select the source code pane (showing the source code for the file of the function selected in the callstack pane) +* Press 'o' to open the selected file to the selected line in your system's default editor (`$EDITOR`) * Press 'v' to select the variables pane (showing the variables at the selected level of the callstack) * Press 'd' to select the data pane (showing the value of the selected variable) + * In the data pane, 'l'/right will expand table entries, and 'h'/left will collapse table entries. diff --git a/ldt.lua b/ldt.lua index 254c5f9..c570c07 100644 --- a/ldt.lua +++ b/ldt.lua @@ -1249,7 +1249,7 @@ ldb = { stdscr:clear() stdscr:refresh() for _, pad in pairs(pads) do - pad:refresh() + pad:refresh(true) end elseif C.KEY_RESIZE == _exp_0 then SCREEN_H, SCREEN_W = stdscr:getmaxyx() diff --git a/ldt.moon b/ldt.moon index 35ad2b3..9810736 100644 --- a/ldt.moon +++ b/ldt.moon @@ -863,7 +863,7 @@ ldb = { C.use_default_colors! stdscr\clear! stdscr\refresh! - for _,pad in pairs(pads) do pad\refresh! + for _,pad in pairs(pads) do pad\refresh(true) when C.KEY_RESIZE SCREEN_H, SCREEN_W = stdscr\getmaxyx!