GiorgosXou / TUIFIManager

A cross-platform terminal-based termux-oriented file manager (and component), meant to be used with a Uni-Curses project or as is.
GNU General Public License v3.0
718 stars 14 forks source link

Exit with `cd` to current directory in Windows #85

Open graphixillusion opened 1 year ago

graphixillusion commented 1 year ago

Specifications

Describe the bug

Expecting pdcurses at: C:\Users\USER\scoop\persist\python\Lib\site-packages\unicurses/64 bit binaries/pdcdllu/pdcurses.dll

Additional context

I have installed this with python which was installed with scoop under Windows 11 x64. The program's ui starts and i can navigate: the simple operations works good like cut, paste, move, even shift tab works but for example if i hit ctrl +e it will exit to the prompt with the above message. Even tuifi --version shows this error. I've also checked if the pdcurses.dll file is present in the specified path and the file is there so i don't know what's going on...

GiorgosXou commented 1 year ago

Just remove this line under C:\Users\USER\scoop\persist\python\Lib\site-packages\unicurses\__init__.py, it's just a print(...) function I forgot to remove. lol

graphixillusion commented 1 year ago

@GiorgosXou But the CTRL+E shoudn't exit to the prompt in the current directory selected in the gui?

GiorgosXou commented 1 year ago

Although it is not mentioned, this trick is not supported for windows at the momment