X Tutup
Skip to content

Minor bug when typing "cd \" #1206

@Skaruts

Description

@Skaruts

If you use the cd \ command, the console will think \ is a folder and enter it. Using dir in there will still show the contents of the root. And since TIC thinks you're in an actual folder, you can go back with cd ...

cd_bug

EDIT: I thought this bug was specific to the root, but it isn't. Seems to happen anywhere, as cd \ isn't even a valid command (I was assuming it was).


Also, when I noticed cd \ isn't a valid command, I realized there's another problem here (maybe I should open another issue about this?): the valid command is cd /, and in some keyboards that's a bit unwieldy to use. In my case, I have one / on shift+7 and the other / on the number pad, which TIC doesn't support.

Maybe TIC could support cd \ to workaround this problem? \ in my case is next to 1, which is quite accessible.

This is how my keyboard looks like. This is the most common layout I've seen in portugal, where I'm from.

I guess I might add as a suggestion that TIC could possibly even support cd\ and cd/, for the same reasons as #1150.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup