Skip to content
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

tmux not working with wezterm #219

Open
liketoeatcheese opened this issue Aug 30, 2024 · 2 comments
Open

tmux not working with wezterm #219

liketoeatcheese opened this issue Aug 30, 2024 · 2 comments

Comments

@liketoeatcheese
Copy link

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
Copy link
Owner

jstkdng commented Sep 1, 2024

That is a weird issue, do you have a config file?

@liketoeatcheese
Copy link
Author

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
  }
}

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

2 participants