You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file is modified using vim, the file preview(with bat) in jushuto does not update to reflect the changes. The preview only updates after restarting jushuto.
Steps to reproduce:
Use jushuto to browse files and check the preview of a file.
Open the currently selected file with vim and modify the content.
Exit vim with :wq to return to jushuto.
Check the preview of the modified file in jushuto. The preview does not reflect the changes made.
Workaround: Restarting jushuto updates the file preview.
Expected behavior: The file preview should update immediately after a file is modified, without needing to restart jushuto. This is the behavior observed in ranger.
Version: joshuto-0.9.8
The text was updated successfully, but these errors were encountered:
waynewaynetsai
changed the title
[Bug]: File preview(with bat) does not update after file modification with vim
[Bug] File preview(with bat) does not update after file modification with vim
May 12, 2024
There is code to track the timestamp of previews so it can refresh if file timestamp differs.
But the code for actually checking and refreshing is not implemented yet xd
Description:
When a file is modified using vim, the file preview(with bat) in jushuto does not update to reflect the changes. The preview only updates after restarting jushuto.
Steps to reproduce:
Workaround: Restarting jushuto updates the file preview.
Expected behavior: The file preview should update immediately after a file is modified, without needing to restart jushuto. This is the behavior observed in ranger.
Version: joshuto-0.9.8
The text was updated successfully, but these errors were encountered: