You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I just had a user ask me whether it's possible to make a "Terminal component resizable" and the answer is yes, any component can easily be made resizable. I guess the question is, should this be exposed as a parameter so it is more easily discoverable?
Here is an example what you currently have to do:
pn.widgets.Terminal(
"Welcome to the Panel Terminal!\nI'm based on xterm.js\n\n",
options={"cursorBlink": True},
min_height=300, sizing_mode='stretch_width',
styles={"resize": "both", "overflow": "hidden"}
)
The alternative, I guess, is simply to find a good way to document this trick.
The text was updated successfully, but these errors were encountered:
So I just had a user ask me whether it's possible to make a "Terminal component resizable" and the answer is yes, any component can easily be made resizable. I guess the question is, should this be exposed as a parameter so it is more easily discoverable?
Here is an example what you currently have to do:
The alternative, I guess, is simply to find a good way to document this trick.
The text was updated successfully, but these errors were encountered: