1
1
mirror of https://github.com/tstack/lnav.git synced 2024-08-16 08:20:29 +03:00

Use set_selection instead set_top in listview driver

This commit is contained in:
Florian Münchbach 2023-04-23 15:21:41 +02:00
parent 6c642abad6
commit ea5d59e7e2

View File

@ -121,7 +121,7 @@ main(int argc, char* argv[])
break;
}
case 't':
lv.set_top(vis_line_t(atoi(optarg)));
lv.set_selection(vis_line_t(atoi(optarg)));
break;
case 'l':
lv.set_left(atoi(optarg));