gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.4k stars 294 forks source link

Does not resize from shell running inside #2167

Open aik opened 1 year ago

aik commented 1 year ago

print("\033[8;{};{}t".format(y, x)) (python3 code) or resize -s 20 20 (shell) do work when run inside gnome-terminal but not tilix v1.9.5/fedora38, is there a workaround?

egmontkob commented 1 year ago

[Disclaimer: I'm not a Tilix developer]

Unlike gnome-terminal, tilix allows to have a complex layout of horizontal and vertical splits. If one of those tiled terminals wishes to resize, it's unclear to me what should happen to all the other terminal panes. At least some, but often all of the other panes would also have to be resized, maybe breaking the size just recently set by a shell-initiated resize over there.

terminator, another tiling terminal doesn't support escape sequence initiated resizes either, presumably for the same reason. These two concepts (tiling, and one of the tiles self-resizing with the rest of them having to adjust) aren't really compatible due to their very nature.

I mean, surely something could be implemented, but I'm afraid the whole experience just wouldn't feel great.

egmontkob commented 1 year ago

I've just noticed that it's cross-posted as https://github.com/gnome-terminator/terminator/issues/759.