aboutsummaryrefslogtreecommitdiff
path: root/src/tiling.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tiling.rs')
-rw-r--r--src/tiling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tiling.rs b/src/tiling.rs
index 3e33de1..d443fb6 100644
--- a/src/tiling.rs
+++ b/src/tiling.rs
@@ -53,7 +53,7 @@ fn tile_to_str(tile: &TileType) -> &str {
}
}
-fn draw_block(window: &Window, block: &TileType) {
+pub fn draw_block(window: &Window, block: &TileType) {
window.printw(tile_to_str(block));
}