-
Notifications
You must be signed in to change notification settings - Fork 76
[Question]: How to print images in Wezterm? #187
Comments
@rashil2000 Make sure to update to the latest release; other than that I'm sorry to say that you're on your own. I do not provide support for mdcat. |
I'm on the latest version, 0.23.2, that's why I said recently. Maybe @MuhammedZakir, who added this feature, can provide some directions? |
@rashil2000 Please spare me the passive aggressive emphasis; I can't guess what version "recently" should refer to. |
@rashil2000: what is the output of
|
@lunaryorn I would like to sincerely apologize. I saw that the PR's (#182, #185, #186) were merged a few days ago so I assumed the recency was implied. It was really not my intention to sound aggressive. @MuhammedZakir here are the values:
PowerShell does not set the TERM variable, it is set by WezTerm itself. |
@rashil2000 Thanks. I'm very sorry for the misunderstanding, and would like to apologize myself for the harsh reply. I hope you'll be able to solve this problem, and I am sorry that I cannot help you any further. 😔 |
Does image works in WezTerm Windows version? Try: If the above works, then it's a problem with mdcat. One thing that comes to my mind is problem with resolving path (win: |
Please understand that I don't provide support for mdcat. I am sorry but I just don't want to spent my own time to debug and fix other people's problems 🤷♂️ This is open source after all: You can read, edit, and debug the code just as good as I can. |
mdcat-0.23.0-x86_64-pc-windows-msvc.zip Using above, see if the paths are resolved correctly. Paths will be printed above respective images. |
Can you try that using the executable I posted and tell me what the path is? |
It prints out the same path as before |
One last thing: does If it does work, then a simple fix is to remove the leading slash in images' path in Windows. Otherwise, remove leading slash If @lunaryorn is okay with above solution, I will open a PR. Of course, if there is a better way to do this, please do say so. :-) |
I am sorry but I'm not. This is too much of a hack in my opinion, and I'm not convinced that it is the only way. You would need to figure out where that slash ultimately comes from, why it appears in some but not in other cases, and demonstrate why stripping it manually from the path is the only way around this. I won't do this myself for this issue didn't affect me, and as far as I'm concerned you're not obliged to do just because you contributed wezterm support 🙂 |
Bash works both with and without leading slash, but PowerShell and Cmd don't.
The slash comes because the resolved URL (whether from
I think it was pretty evident from your earlier three comments that you won't like to work on this because it doesn't affect you, but please enlighten me on the need to mention this again? Obviously I'm in no position to force @MuhammedZakir to solve this, they're doing this voluntarily. They can straightaway say if they don't wish to spend their time on it. Also, if you don't like people sending bug reports (that don't affect you) to you, you should specify that in the Readme. Or better yet, disable the "Issues" tab in your repo. People actually do this, it saves both the users and developers' countless minutes. I get that it works for you (because you wrote it), but at the very least people won't be under the false impression that (unlike most repos here) you're actually interested in improving your utility (for it to work everywhere). |
Alright I don't think we need to take this any further 🙂 |
I recently saw that image support was added for wezterm. However, I haven't got it working.
Is there a setting that needs to be configured?
The text was updated successfully, but these errors were encountered: