Skip to content

Commit c4ef51c

Browse files
committed
refine active process order on page
1 parent d095971 commit c4ef51c

File tree

2 files changed

+57
-13
lines changed

2 files changed

+57
-13
lines changed

calcit.cirru

Lines changed: 47 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,16 @@
503503
filter $ fn (x)
504504
not= (first x) (get router-data :enlarge-view)
505505
.sort $ fn (x y)
506-
-
507-
:started-at $ last y
508-
:started-at $ last x
506+
if
507+
and
508+
:alive? $ last y
509+
:alive? $ last x
510+
-
511+
:started-at $ last x
512+
:started-at $ last y
513+
-
514+
:started-at $ last y
515+
:started-at $ last x
509516
.sort-by $ fn (pair)
510517
not $ :alive? (last pair)
511518
.map-pair $ fn (pid process)

0 commit comments

Comments
 (0)