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
I was looking for something easier to use than curses, but more control than (the awesome) TTY libraries, and so far, this looks very promising!
I've been playing around with it, and am enjoying the combination of simplicity and effectiveness so far, it really works! :) Thank you for the library. A couple of questions/requests:
I was wondering if you had any examples or docs on how to do multiple viewports on the screen at once, if that's a possible way to use it? e.g. a split pane interface. The Size still has me confused. can I specify an area with that? My random jabs at it have been unsuccessful so far.
How would you do a "popup modal"? I tried using a new viewport, and an existing viewport with a different Partial, and those cleared the screen. I'd like to have the existing viewport below, and when the modal is done, be able to restore the dirty areas.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I too wanted something kind of in the middle without any binary dependencies.
A Viewport is the library's internal model of the terminal. It is directly connected to the output of the terminal and clears the terminal whenever it redraws, so there can really only be one active at a time. Instead the intention was to swap them out or change the Views or Partials that the Viewport uses.
There isn't yet a split screen helper, instead you could pull the console size and generate content which pads out the left side content before merging them.
I am working on a set of more advanced functionality which can do a lot more with multiple frames and layers, but it is a work in progress. Feel free to check it out and even work on it with me.
Hi, thanks for the library!
I was looking for something easier to use than curses, but more control than (the awesome) TTY libraries, and so far, this looks very promising!
I've been playing around with it, and am enjoying the combination of simplicity and effectiveness so far, it really works! :) Thank you for the library. A couple of questions/requests:
Thanks!
The text was updated successfully, but these errors were encountered: