-
hello, we play on the width and the height we listen to the command tea.WindowSizeMsg ?
Cordially |
Beta Was this translation helpful? Give feedback.
Answered by
muesli
Apr 22, 2022
Replies: 1 comment 1 reply
-
Correct, every time the terminal gets resized, you will get a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bashbunni
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct, every time the terminal gets resized, you will get a
tea.WindowSizeMsg
with the new width and height. There's no need to useterm.GetSize
manually.