diff options
author | Yorhel <git@yorhel.nl> | 2011-10-31 13:10:36 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-10-31 13:10:36 +0100 |
commit | 53e3bcbd2b44445956ed641f52bb783203184cf1 (patch) | |
tree | 26c82953495065cf40e63d213559008b93e21789 | |
parent | 260f138d3f5e4b014e2b88424215e0d69238f3b3 (diff) |
browser.c: Added [read-only] indication to title bar
-rw-r--r-- | src/browser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browser.c b/src/browser.c index e934591..964c6ed 100644 --- a/src/browser.c +++ b/src/browser.c @@ -166,6 +166,8 @@ 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) + mvaddstr(0, wincols-11, "[read-only]"); attroff(A_REVERSE); /* second line - the path */ |