I'm embedding JLine (via a groovy shell) with Mina's SSHD, and I can get the client's terminal dimensions from Mina's Environment class. How can I communicate those to the JLine terminal that Groovysh creates via TerminalFactory.create() (Groovysh.groovy:462) so that the shell displayed in the client's terminal is sized appropriately?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm embedding JLine (via a groovy shell) with Mina's SSHD, and I can get the client's terminal dimensions from Mina's Environment class. How can I communicate those to the JLine terminal that Groovysh creates via TerminalFactory.create() (Groovysh.groovy:462) so that the shell displayed in the client's terminal is sized appropriately?