Skip to content

Integration with fzf on Windows does not work in some cases. #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mrplumber opened this issue Apr 8, 2025 · 0 comments
Open

Integration with fzf on Windows does not work in some cases. #215

mrplumber opened this issue Apr 8, 2025 · 0 comments

Comments

@mrplumber
Copy link

mrplumber commented Apr 8, 2025

Below is the example of the problem on my Windows 10 x64 with Clink in two screenshots:

Image

Image

Below two pictures explaining the root of the problem.
First is Lua interpreter launched with lua52.dll which was compiled in year 2015 with MinGW (v4.9.3):
Image
Currently z.lua code expects similar result from os.tmpname() function.

Second is the same Lua interpreter launched with lua52.dll which was compiled in year 2022 with MSVC19:
Image
Lua 5.2 interpreter integrated into Clink returns similar os.tmpname() function result.

I forked the repository and edited the code in z.lua (here and here) in a way that it is now compatible with both cases.

If you are willing to accept the changes I can send you a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant