diff options
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -101,11 +101,11 @@ local function set_cursor(pos, opts) end local function cursor_up() - set_cursor(state:menu().cursor - 1) + set_cursor(state:menu().cursor - 1, {margin = config.scroll_margin}) end local function cursor_down() - set_cursor(state:menu().cursor + 1) + set_cursor(state:menu().cursor + 1, {margin = config.scroll_margin}) end local function cursor_start() @@ -163,11 +163,11 @@ local function move_option(pos, opts) end local function move_option_up() - move_option(state:menu().cursor - 1) + move_option(state:menu().cursor - 1, {margin = config.scroll_margin}) end local function move_option_down() - move_option(state:menu().cursor + 1) + move_option(state:menu().cursor + 1, {margin = config.scroll_margin}) end local function move_option_start() |
