1 parent 2fd78f4 commit 4357d38Copy full SHA for 4357d38
1 file changed
examples/FileRush/src/main/java/fastfileindex/FileRush.java
@@ -22,10 +22,10 @@ public static void main(String[] args) {
22
23
@Override
24
public void onProgress(long current, long total, String currentPath) {
25
- // Truncate path to fit console width (100 chars) to avoid word wrap
+ // Truncate path to fit console width (120 chars) to avoid word wrap
26
String displayPath = currentPath;
27
- if (currentPath != null && currentPath.length() > 100) {
28
- displayPath = "..." + currentPath.substring(currentPath.length() - 97);
+ if (currentPath != null && currentPath.length() > 120) {
+ displayPath = "..." + currentPath.substring(currentPath.length() - 117);
29
}
30
System.out.println(displayPath);
31
System.out.flush();
0 commit comments