tmux not working with wezterm
Opened this issue · 2 comments
liketoeatcheese commented
Hey mate,
First of all, such a legend to bring images to the terminals for the community!
Issue description
I'm having trouble to enter ueberzugpp in tmux.
ueberzugpp layer --use-escape-codes
terminate called after throwing an instance of 'nlohmann::json_abi_v3_11_3::detail::parse_error'
what(): [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON
Aborted
Note that it works without tmux:
ueberzugpp layer --use-escape-codes
Enter to go into ueberzugpp, then paste this in:
{"action": "add", "identifier": "preview", "x": 0, "y": 0, "max_width": 1920, "max_height": 1080, "path": "/home/wpham/wisdom/FrontEnd/CSS/Resources/fillmode_default.png"}
Version
ueberzugpp --version
ueberzugpp 2.9.6
tmux -V
tmux 3.4
I'm using wsl via wezterm on NixOS:
C:\Users\wpham>wezterm --version
wezterm 20240203-110809-5046fc2
jstkdng commented
That is a weird issue, do you have a config file?
liketoeatcheese commented
I tried with and without. Here's the config that I used but shouldn't matter since didn't work without it as well:
{
"layer": {
"silent": false,
"use-escape-codes": true,
"no-stdin": false
}
}