@zep
As .png files are a supported graphic format with the IMPORT and EXPORT commands, I think it makes sense to list .png image files in the working directory when using the LS and DIR commands. I'm working on a graphic utility tool and it's a bit of a drag to not be able to list the very same images that I'm allowed to import and export by name.
I totally agree that .png files (in general, not just .p8.png) should be displayed by default.
You may already know this but just in case, ls *
will list everything in the directory. Though the only place I see this documented is in help ls
@jasondelaat
No, I didn't know about ls *
, thank you. It doesn't seem to work in code (i.e. ls("*")
doesn't seem to work), but it's a first step. ::thumbs_up_emoji_if_I_could::
(I tried ls("./path/I/want/", true)
and so on to see if there's an undocumented "show hidden files" flag, but no dice; it lists only the "approved" files)
While I'm wishing, I think .txt
files should also be shown by default. This is the format generated by the printh
command (if I understand things correctly) and so should be a first-class file type of the ls
command, IMHO.
[Please log in to post a comment]