tym icon indicating copy to clipboard operation
tym copied to clipboard

add rewrap

Open thalting opened this issue 2 years ago • 5 comments

Rewrap the content when terminal size changed, this fix a lot of issues with resizes

thalting avatar Jun 10 '22 04:06 thalting

Thanks for the PR!

The property is already deprecated since version 0.58 of VTE and will be removed some day. If that happens, the compilation would be failed. And rewrap is enbaled by default, so the option would be for people who want to disable it.

If you want to disable it or don't care even if the option will be unavailable when removed from VTE, I will merge this.

endaaman avatar Jun 15 '22 05:06 endaaman

is there any better way to implement a 'rewrap on resize'? if there is, I think it's better to try it.

thalting avatar Jun 17 '22 17:06 thalting

The feature rewrap on resize is already active by default.

endaaman avatar Jun 20 '22 04:06 endaaman

but if I disable rewrap, I still have problems with resize, mainly with the shell prompt.

thalting avatar Jun 21 '22 04:06 thalting

The problem may be caused by the other factor.

The VTE developers might think the feature should be obviously enabled by default and there is no need for the way to toggle it. At least I can't merge this without the demand to disable this.

endaaman avatar Jun 28 '22 23:06 endaaman