Hi Brent,
This is possible but will probably be tricky to get exactly right and it
may require making some simplifying assumptions. I put together a demo
program that shows a way that this could work (with some rough edges
that we can discuss).
Clone the 'demo/dynamic-viewport-byorgey' branch of Brick and run
the 'brick-brent-demo' program to check it out. See the source in
'programs/BrentDemo.hs' for how to use it. I can provide an in-depth
explanation later (a ticket might be best, so we can also play around
with Haskell source there) but for now, you can try this demo and see
how much closer it gets to what you want. If it looks promising, then we
can get into the details.
https://github.com/jtdaugherty/brick/tree/demo/dynamic-viewport-byorgey
> --
> You received this message because you are subscribed to the Google Groups "Brick Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
brick-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/brick-users/22528f39-ab4b-4fb1-926e-dbe680fb4a82n%40googlegroups.com.
--
Jonathan Daugherty