Skip to content

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

Open
@mrplumber

Description

@mrplumber

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.

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