mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
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:
parent
61a7846c76
commit
9e549b0319
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue