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
Right now it looks like it basically just writes to the "current" window, which is not ideal. Especially with the upcoming vsplit support (#71) it'd be nice to be able to create a split and only render into that window/buffer.
The text was updated successfully, but these errors were encountered:
Refs #73
Rather than defaulting to whatever window is current, it selects
the "current" window on init (eg: createEmpty) and uses that forever
unless another window is specified.
If provided a non-primary Window, that window will be cleared before
the map is rendered into it.
Furthermore, we simplify the resize mechanics to match *the specific
window* we're rendering into.
Closes#73
This commit also renames the internal IJudoWindow.onSubmit to
`onSubmitFn`. It's a little annoying, but it allows a simple
implementation of onSubmit for `IScriptWindow` that doesn't conflict
with `IJudoWindow`, so implementations of `IScriptWindow` can also
implement `IJudoWindow` for greater interop.
* Refactor MapManager to render to a specific Window
Refs #73
Rather than defaulting to whatever window is current, it selects
the "current" window on init (eg: createEmpty) and uses that forever
unless another window is specified.
If provided a non-primary Window, that window will be cleared before
the map is rendered into it.
Furthermore, we simplify the resize mechanics to match *the specific
window* we're rendering into.
* Expose `judo.mapper.window` to scripting
Closes#73
This commit also renames the internal IJudoWindow.onSubmit to
`onSubmitFn`. It's a little annoying, but it allows a simple
implementation of onSubmit for `IScriptWindow` that doesn't conflict
with `IJudoWindow`, so implementations of `IScriptWindow` can also
implement `IJudoWindow` for greater interop.
Right now it looks like it basically just writes to the "current" window, which is not ideal. Especially with the upcoming vsplit support (#71) it'd be nice to be able to create a split and only render into that window/buffer.
The text was updated successfully, but these errors were encountered: