Une version rudimentaire de Slay The Spire dans le terminal - retour accueil
git clone git://bebou.netlib.re/sts-term
Log | Files | Refs | README |
commit f28263ad95d13f876af9484abce73a28d68bf196 parent fb24a4e24678780408a5aad742f8e97d229abee0 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Sat, 22 Jun 2024 17:55:37 +0200 Correction bug affichage bufs debufs monstre Un oublie de "$" Diffstat:
M | utils | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/utils b/utils @@ -29,7 +29,7 @@ _createdisplaycard(){ <<-. cat > $tmpdir/disp-$name $name - + $(cat $card | grep -Ev "moves|bufs" | sed -E 's/ / : /') @@ -44,7 +44,7 @@ _dispbufsanddebufs() { for type in bufs debufs;do echo "$type" - grep -E "^$type" target | + grep -E "^$type" $target | cut -sf2- | tr '\t' '\n' | sed 's/ / : /' | @@ -96,7 +96,7 @@ _makeui() { <<-. cat > $tmpdir/left-pane $(_showplayerstats) - + $(_dispbufsanddebufs player) $(paste $tmpdir/disp-* | column -ts' ')