Commit 819d5ec34951f714498ffaa48fe1694ce5179406
Don't reload view in vifm.c:check_path_for_file()
Reloading doesn't restore cursor's historical position and we do
actually load the view on startup and possibly on remote call.
Author: xaizek
Author date (UTC): 2026-06-13 13:49
Committer name: xaizek
Committer date (UTC): 2026-06-13 13:49
Parent(s): d6966f59ae8974a764a219979b298dae43b622ba
Signing key: 99DC5E4DB05F6BE2
Tree: ab0d8f9e73436459669d1f4ce84a195f48ac79c5
| File src/vifm.c changed (mode: 100644) (index 5f1cd8074..0e4efbe33) |
| ... |
... |
check_path_for_file(view_t *view, const char path[], int handle) |
| 505 |
505 |
return; |
return; |
| 506 |
506 |
} |
} |
| 507 |
507 |
|
|
| 508 |
|
load_dir_list(view, 1); |
|
|
508 |
|
load_dir_list(view, /*reload=*/0); |
| 509 |
509 |
if(fpos_ensure_selected(view, after_last(path, '/'))) |
if(fpos_ensure_selected(view, after_last(path, '/'))) |
| 510 |
510 |
{ |
{ |
| 511 |
511 |
if(handle) |
if(handle) |