thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.74k stars 241 forks source link

Execute / reload command on window size change #722

Closed scrouthtv closed 4 years ago

scrouthtv commented 4 years ago

How would one perform an action / reload a task on change of the window size? My example is the man command, if I run it at first and then open a second window next to it the entire output is messed up: image My guess would be to have an xorg event when the window size changes and the send termite a signal but how would I do that?

scrouthtv commented 4 years ago

It should instead look like so: image

egmontkob commented 4 years ago

It's technically hopeless to fix it from the terminal's side. It should be fixed in the man command (along with changes to less so that they can cooperate nicely, or by man switching to an internal pager implementation).