mirror of
https://github.com/matrix-construct/construct
synced 2025-03-13 21:10:32 +01:00
modules/console: Add notification count and state indication.
This commit is contained in:
parent
6d15db176d
commit
34cbf19466
1 changed files with 7 additions and 0 deletions
|
@ -1542,6 +1542,8 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
|||
<< " "
|
||||
<< "STATE"
|
||||
<< " "
|
||||
<< "NOTES"
|
||||
<< " "
|
||||
<< "YIELDS"
|
||||
<< " "
|
||||
<< "CYCLE COUNT"
|
||||
|
@ -1565,12 +1567,17 @@ console_cmd__ctx__list(opt &out, const string_view &line)
|
|||
<< (started(ctx)? 'S' : '-')
|
||||
<< (running(ctx)? 'R' : '-')
|
||||
<< (waiting(ctx)? 'W' : '-')
|
||||
<< (notes(ctx)? 'N' : '-')
|
||||
<< (finished(ctx)? 'F' : '-')
|
||||
<< (interruptible(ctx)? '-' : 'N')
|
||||
<< (interruption(ctx)? 'I' : '-')
|
||||
<< (termination(ctx)? 'T' : '-')
|
||||
;
|
||||
|
||||
out << " "
|
||||
<< std::setw(5) << std::right << notes(ctx)
|
||||
<< " ";
|
||||
|
||||
out << " "
|
||||
<< std::setw(8) << std::right << yields(ctx)
|
||||
<< " ";
|
||||
|
|
Loading…
Add table
Reference in a new issue