Skip to content

Commit

Permalink
fix missing draw function.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneenders committed Jul 4, 2024
1 parent ffb8241 commit 071acc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ChromaShell/InteractionLoop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct InteractionLoop: ~Copyable {
init(_ block: some Block) async {
let size = Terminal.size()
self.scribe = await Scribe(
observing: block, width: size.x, height: size.y)
observing: block, width: size.x, height: size.y, draw(_:_:_:))
Terminal.setup()
}

Expand Down

0 comments on commit 071acc2

Please sign in to comment.