Skip to content
Snippets Groups Projects
Commit 53e3bcbd authored by Yorhel's avatar Yorhel
Browse files

browser.c: Added [read-only] indication to title bar

parent 260f138d
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment