Skip to content

Add WezTerm zoom support - #28

Open
strptrk wants to merge 1 commit into
numToStr:masterfrom
strptrk:wezterm_zoom_support
Open

Add WezTerm zoom support#28
strptrk wants to merge 1 commit into
numToStr:masterfrom
strptrk:wezterm_zoom_support

Conversation

@strptrk

Copy link
Copy Markdown

Hi, this change aims to add WezTerm:zoomed(), similar to Tmux:zoomed().

The reason why I went with that cryptic regex is that I did not want to introduce a jq dependency to the plugin, while usually grep can be found on every computer. I am not sure about whether this would work on Windows, but I guess if somebody wants it, they can also create a pull request for it.

@robsonpeixoto

Copy link
Copy Markdown

Maybe you could use vim.json.decode to parse the json:
https://neovim.io/doc/user/lua.html#vim.json

@strptrk
strptrkforce-pushed the wezterm_zoom_support branch from 929bf10 to b743701CompareSeptember 2, 2023 19:29
@strptrk
strptrkforce-pushed the wezterm_zoom_support branch from b743701 to b687278CompareSeptember 2, 2023 19:33
@strptrk

Copy link
Copy Markdown
Author

Thank you for the suggestion, @robsonpeixoto.
I have updated the pull request.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@strptrk@robsonpeixoto