You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @bjpop, this would be a good addition to to the watch screen.
I started working on this a while ago to support curses, or allowing janis watch to not clear the screen (like how htop does it). The "Press 'q' to quit" functionality is implemented here: management/workflowmanager.py#L353-L388.
I used the Python module blessed (and is actually still a dependency), but I ran into trouble with allowing the progress screen to scroll if you have many tasks, so I have put it on hold for now. I think it's possible by overriding the scroll and up/down keyboard events and only printing certain elements to memory, but very happy to take guidance on this.
It is not clear what is the preferred way to stop
janis watch
.Currently I am just control-c, but that seems inelegant.
Some interactive Unix tools support pressing 'q' for quit (e.g. less).
This is a minor issue, but maybe
janis watch
could do the same, and perhaps print a message down the bottom thatq
will quit the program.The text was updated successfully, but these errors were encountered: