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.
This commit is contained in:
Yorhel 2015-04-05 10:03:32 +02:00
parent 61a7846c76
commit 9e549b0319

View file

@ -429,6 +429,10 @@ int browse_key(int ch) {
delete_init(sel, t); delete_init(sel, t);
break; break;
case 'b': case 'b':
if(dir_import_active) {
message = "Shell feature not available for imported directories.";
break;
}
shell_init(); shell_init();
break; break;
} }