]> skyeroc.xyz Git - dgamelaunch/commitdiff
Show total number of games in progress below the list, useful if there are
authorJilles Tjoelker <jilles@stack.nl>
Mon, 1 Mar 2004 21:17:05 +0000 (21:17 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Mon, 1 Mar 2004 21:17:05 +0000 (21:17 +0000)
more than fits on the screen.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@263 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

Changelog
dgamelaunch.c

index 3bbe743fad6d66d189533183cb336f6ebb902dfa..7533ef880fdde3d48aee03fa26ce73e8ede5b78a 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+1.4.4 (????/??/??)
+       * Show total number of games in progress below the list, useful if
+         there are more than fits on the screen.
+
 1.4.3 (2004/02/28)
        * Make ttyplay use the 'strip' value it remembered from last view.
        * Don't fail if client-supplied window size seems incorrect.
index d09e327aa5abd32415768b872b8c9fb72aff853c..489db192fd406d094923b4a2cd232d84519077a6 100644 (file)
@@ -337,6 +337,8 @@ inprogressmenu ()
                     (time (&ctime) - games[i + offset]->idle_time) % 60);
         }
 
+      if (len > 0)
+        mvprintw (21, 1, "(%d-%d of %d)", offset + 1, offset + i, len);
       mvaddstr (23, 1,
                 "Watch which game? (any key refreshes, 'q' quits, '>'/'<' for more/less) => ");
       refresh ();