mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
browser.c: Display [imported] indication in title
This commit is contained in:
parent
37f390d241
commit
fdc614126a
1 changed files with 3 additions and 1 deletions
|
|
@ -162,7 +162,9 @@ void browse_draw() {
|
|||
mvhline(0, 0, ' ', wincols);
|
||||
mvhline(winrows-1, 0, ' ', wincols);
|
||||
mvprintw(0,0,"%s %s ~ Use the arrow keys to navigate, press ? for help", PACKAGE_NAME, PACKAGE_VERSION);
|
||||
if(read_only)
|
||||
if(dir_import_active)
|
||||
mvaddstr(0, wincols-10, "[imported]");
|
||||
else if(read_only)
|
||||
mvaddstr(0, wincols-11, "[read-only]");
|
||||
attroff(A_REVERSE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue