README.md | 2 +-
src/nnn.c | 14 +++++++-------
diff --git a/README.md b/README.md
index 8fc27b12925df2bea43a493f6a97085ff5a15a91..5ef56fe4092634f0ca493dfb1c0bb39381c4f095 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,7 @@ - Navigation
- *Navigate-as-you-type* with dir auto-select
- Contexts (_aka_ tabs/workspaces) with custom colors
- Sessions, bookmarks; pin and visit a dir
+ - Remote mounts (needs sshfs, rclone)
- Familiar shortcuts (arrows, ~, -, @), quick reference
- CD on quit (*easy* shell integration)
- Sorting
@@ -52,7 +53,6 @@ - Media information (using plugin)
- Convenience
- Run plugins and commands with custom keybinds
- FreeDesktop compliant trash (needs trash-cli)
- - Remote mounts (needs sshfs, rclone)
- Cross-dir file/all/range selection
- Batch rename selection or dir entries
- Copy (as), move (as), delete, archive, link selection
diff --git a/src/nnn.c b/src/nnn.c
index 72b15cc0cf8dd173fe2b800ff0e810f1f7f97aff..07a52ce15b8e249d7b30deeb0032063a49d1e5d3 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -113,7 +113,7 @@ #endif
#define _ABSSUB(N, M) (((N) <= (M)) ? ((M) - (N)) : ((N) - (M)))
#define DOUBLECLICK_INTERVAL_NS (400000000)
-#define XDELAY_INTERVAL_US (350000) /* 350 ms delay */
+#define XDELAY_INTERVAL_MS (350000) /* 350 ms delay */
#define LEN(x) (sizeof(x) / sizeof(*(x)))
#undef MIN
#define MIN(x, y) ((x) < (y) ? (x) : (y))
@@ -2872,7 +2872,7 @@
fsession = fopen(spath, "rb");
if (!fsession) {
printmsg(messages[MSG_SSN_MISSING]);
- xdelay(XDELAY_INTERVAL_US);
+ xdelay(XDELAY_INTERVAL_MS);
return FALSE;
}
@@ -2903,7 +2903,7 @@ fclose(fsession);
if (!status) {
printmsg(messages[MSG_FAILED]);
- xdelay(XDELAY_INTERVAL_US);
+ xdelay(XDELAY_INTERVAL_MS);
}
return status;
@@ -3146,7 +3146,7 @@
xstrlcpy(path, dir, PATH_MAX);
printmsg(messages[MSG_DIR_ACCESS]);
- xdelay(XDELAY_INTERVAL_US);
+ xdelay(XDELAY_INTERVAL_MS);
}
static bool execute_file(int cur, char *path, char *newpath, int *presel)
@@ -3320,7 +3320,7 @@ }
} else {
spawn(env, tmp, newpath, NULL, flag);
printmsg(messages[MSG_RCLONE_DELAY]);
- xdelay(XDELAY_INTERVAL_US * 10);
+ xdelay(XDELAY_INTERVAL_MS * 10);
}
return TRUE;
@@ -4791,7 +4791,7 @@ if (rangesel) { /* Range selection started */
inode = sb.st_ino;
selstartid = cur;
printmsg(messages[MSG_RANGE_SEL_ON]);
- xdelay(XDELAY_INTERVAL_US);
+ xdelay(XDELAY_INTERVAL_MS);
continue;
}
@@ -4836,7 +4836,7 @@
/* Show the range count */
//r = selendid - selstartid + 1;
//mvprintw(xlines - 1, 0, "+%d\n", r);
- //xdelay(XDELAY_INTERVAL_US);
+ //xdelay(XDELAY_INTERVAL_MS);
//writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
//spawn(copier, NULL, NULL, NULL, F_NOTRACE);