-
Is it possible to hover over the pasted entry (the first one, if there are many, according to the current sorting method)? Here's the 'select -> paste' in nnn for reference: screenrecord.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think because nnn is synchronous — users can't do any other actions until the copy operation is completed, so it can handle things this way. However, Yazi's copy operations are asynchronous — they run in the background. This means that during copying, the user may have done other actions, like moving the cursor and getting ready to press "d" to delete a file. If the background copy task finishes at that moment and resets the cursor, the user might accidentally select the wrong file to delete, which poses a certain safety risk. Additionally, Yazi can have multiple task queues running concurrently in the background, and if they finish one after the other, the cursor would be reset multiple times, and this depends on which task finishes first, rather than the order in which the user initiated the copy operations, which is not a good user experience. |
Beta Was this translation helpful? Give feedback.
I think because nnn is synchronous — users can't do any other actions until the copy operation is completed, so it can handle things this way.
However, Yazi's copy operations are asynchronous — they run in the background. This means that during copying, the user may have done other actions, like moving the cursor and getting ready to press "d" to delete a file. If the background copy task finishes at that moment and resets the cursor, the user might accidentally select the wrong file to delete, which poses a certain safety risk.
Additionally, Yazi can have multiple task queues running concurrently in the background, and if they finish one after the other, the cursor would be reset multipl…