diff options
Diffstat (limited to 'i_events.go')
-rw-r--r-- | i_events.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/i_events.go b/i_events.go index 524b612..74dbe06 100644 --- a/i_events.go +++ b/i_events.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/i_events.go - * Wed Dec 20 12:19:56 2023 + * Wed Dec 20 16:17:19 2023 * Joe * * the hosts linked list @@ -98,6 +98,12 @@ func i_events(data *Data, *sel -= 1 } } + if event.Rune() == 'g' { + *sel = 0 + } + if event.Rune() == 'G' { + *sel = *sel_max - 1 + } if event.Rune() == 'D' { i_delete_selected(data, sel) i_reload_data(data, sel, sel_max) |