detect hand change and render it

This commit is contained in:
Tao Tien 2026-01-11 20:10:30 -08:00
parent d506a25716
commit 3417384b86
9 changed files with 138 additions and 68 deletions

View file

@ -2,7 +2,7 @@ use ratatui::widgets::Paragraph;
use jong::tiles::Tile;
pub(crate) fn draw_tile(tile: &Tile) -> Paragraph<'_> {
pub(crate) fn draw_tile(tile: &Tile) -> Paragraph<'static> {
use ratatui::prelude::*;
let block = ratatui::widgets::Block::bordered();