Skip to content
Snippets Groups Projects
Commit 9e549b03 authored by Yorhel's avatar Yorhel
Browse files

Disable shell feature on imported file

Can cause too much confusion otherwise; The imported data may not at all
reflect the filesystem that ncdu has access to.
parent 61a7846c
No related branches found
No related tags found
No related merge requests found
......@@ -429,6 +429,10 @@ int browse_key(int ch) {
delete_init(sel, t);
break;
case 'b':
if(dir_import_active) {
message = "Shell feature not available for imported directories.";
break;
}
shell_init();
break;
}
......
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