<p></p>
<blockquote>
<p>I am concerned that certain terminal based UI applications may not properly work inside Geany.</p>
</blockquote>
<p>IIRC Fish was using minimum 20 columns and 2 lines in its check, which seems arbitrary, unless it's from POSIX standard? Moreover, at least here, Geany's terminal has the correct output for <code>tput cols</code> (and <code>$COLUMNS</code>) and <code>tput lines</code> (and <code>$LINES</code>), so it shouldn't affect anything but the initial shell.</p>
<p>LibVTE has always been weird with respect to sizing due to it always having to update/maintain the terminal size (columns/lines) dynamically on-the-fly and also having to respect GTK+'s widget sizing stuff (pixels width/height), and in addition being inside a GTK+ scrolled window.</p>
<p>It's possible a workaround could be implemented, like only spawning the shell command after the VTE widget is sized/realized using a callback and hoping the user doesn't have their message window shrunk down "too" small or by enforcing a minimum width/height somehow like standalone VTE applications do (ex. gnome-terminal, xfce4-terminal), but it doesn't seem worth it to me unless someone volunteers to investigate and make a patch.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2705#issuecomment-751152648">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2EGEOKRBX2NYCKSC3SWP3IBANCNFSM4VIWMK4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3FJACRB4PMUFBY7RTSWP3IBA5CNFSM4VIWMK4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTC24CA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2705#issuecomment-751152648",
"url": "https://github.com/geany/geany/issues/2705#issuecomment-751152648",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>