diff options
Diffstat (limited to 'src/user/app/yosh/main.c')
-rw-r--r-- | src/user/app/yosh/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/user/app/yosh/main.c b/src/user/app/yosh/main.c index f7ee7e7..e989dc1 100644 --- a/src/user/app/yosh/main.c +++ b/src/user/app/yosh/main.c @@ -80,7 +80,11 @@ void ls_dir(int fd) { printf("\t"); if (info.type & FT_TERMINAL) { printf("%ix%i", info.size >> 16, info.size & 0xFFFF); - } else if ((info.type & FT_DEV) == 0) { + } else if (info.type & FT_DEV) { + if (info.dev_type == DT_VGATXT) { + printf("%ix%i", info.size >> 16, info.size & 0xFFFF); + } + } else { printf("%i", info.size); } |