ref: a50ea54acc46b5ee57b463ef3e881515cc962c00
parent: 5943458dfde4a3c5c8c5039bd87a2fc15747c9f0
author: Igor Böhm <igor@9lab.org>
date: Sun Apr 30 20:42:22 EDT 2023
loaddir upon middle click of pathr to refresh Refresh current folder. Useful if another process modified its content.
--- a/vdir.c
+++ b/vdir.c
@@ -639,6 +639,9 @@
offset = scrollclamp((m.xy.y - scrollr.min.y) * ndirs/Dy(scrollr));
redraw();
}
+ }else if(ptinrect(m.xy, pathr)){
+ loaddirs();
+ redraw();
}
}if((m.buttons&4) && oldbuttons == 0){
if(scrolling){