mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Users understand 'DIR' easier then 'cwd'
This commit is contained in:
parent
d9537e6d49
commit
8189411aef
4
nnn.c
4
nnn.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue