Is it normal for ind-sort to be triggered 7 times at startup and 3–4 times whenever the cwd is changed? #3701
Answered
by
sxyazi
boydaihungst
asked this question in
1. Q&A
What system are you running Yazi on?Linux Wayland What terminal are you running Yazi in?kitty 0.45.0
|
Answered by
sxyazi
Feb 20, 2026
Replies: 2 comments 1 reply
|
It's normal at this scale, So |
1 reply
Answer selected by
boydaihungst
|
Do you mean this happens:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's normal at this scale,
ind-sortis called separately for each pane which was to prepare for supporting per-pane sorting in the future, and when that lands there'll be a new property that says which pane thesortaction is applied to (not present yet).So
ind-sort, or better yet, thesortaction, is actually called about total_calls/3 (parent, current, preview if applicable) per tab, with some skipped ones if they don't need to re-sort.