mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
relax Send + Sync constraint on Renderables; remove 3 format calls from render loop
maybe render should have mutable access after all?
This commit is contained in:
parent
209f35440a
commit
680a841e3f
5 changed files with 58 additions and 55 deletions
|
|
@ -21,7 +21,7 @@ impl Output for TuiOut {
|
|||
}
|
||||
impl TuiOut {
|
||||
/// Spawn the output thread.
|
||||
pub fn run_output <T: Render<TuiOut> + 'static> (
|
||||
pub fn run_output <T: Render<TuiOut> + Send + Sync + 'static> (
|
||||
engine: &Arc<RwLock<Tui>>,
|
||||
state: &Arc<RwLock<T>>,
|
||||
timer: Duration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue