console
console copied to clipboard
Allow running files and adding a Zig example
Issue - Redirecting of error doesn't work with Zig, giving this error

@franko Any way to get the redirection working?
Users say it doesn't work in other languages as well
I will be glad to help with this but I am confused. This is a PR that does something meaningful and at the same time you are rising an issue with redirecting standard error.
I will begin by first fixing the issue if I can. Could you please precise a little bit better the problem ? It is to be sure I am going to work in the right direction.
Just to add a little bit to the context: I am not the author of the console plugin, rxi is the author and I just made some adaptations for lite-xl. I don't use myself the console plugin but I will be glad to work on some improvements, just give please more details about the problem you encountered and what you want to accomplish.
@franko Thanks for reaching out
As given here, I expect the the cursor to residirect/go to the line where the error occurs while running the code in console and I click on the error in the console
Instead, I get the error from the image in the issue in my log and it doesn't go to the line where the error is occuring https://user-images.githubusercontent.com/51269425/122938334-4c130b80-d390-11eb-847c-5ec59a86b2b5.png
Note that I executed a file from Zig language. Everything works except for error redirection from console. I've included the scripts I used for Zig as part of PR.