Users understand 'DIR' easier then 'cwd'

This commit is contained in:
Arun Prakash Jana 2017-12-24 15:23:33 +05:30
parent d9537e6d49
commit 8189411aef
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

4
nnn.c
View File

@ -3,7 +3,7 @@
/* /*
* Visual layout: * Visual layout:
* .--------- * .---------
* | cwd: /mnt/path * | DIR: /mnt/path
* | * |
* | file0 * | file0
* | file1 * | file1
@ -148,7 +148,7 @@ disabledbg()
#define TOUPPER(ch) \ #define TOUPPER(ch) \
(((ch) >= 'a' && (ch) <= 'z') ? ((ch) - 'a' + 'A') : (ch)) (((ch) >= 'a' && (ch) <= 'z') ? ((ch) - 'a' + 'A') : (ch))
#define MAX_CMD_LEN 5120 #define MAX_CMD_LEN 5120
#define CWD "cwd: " #define CWD "DIR: "
#define CURSR " > " #define CURSR " > "
#define EMPTY " " #define EMPTY " "
#define CURSYM(flag) (flag ? CURSR : EMPTY) #define CURSYM(flag) (flag ? CURSR : EMPTY)