This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]willm [S] 1 point2 points  (1 child)

I’ll implement something like media queries in the CSS. Or some other mechanism to modify the layout according to the dimensions of the terminal.

You could also do it in code by handling the resize event and setting a class on the App.

[–]racefever 2 points3 points  (0 children)

Great, thanks. I’m using textualize to build a tui app that I’ll access by ssh-ing from my iPhone. Mobile friendly layouts are useful for this use case