Bug #95162 \watch - Allow dynamically changing refresh interval
Submitted: 27 Apr 2019 0:22
Reporter: Jesper wisborg Krogh Email Updates:
Status: Verified Impact on me:
None 
Category:Shell General / Core Client Severity:S4 (Feature request)
Version:8.0.16 OS:Any
Assigned to: CPU Architecture:Any

[27 Apr 2019 0:22] Jesper wisborg Krogh
Description:
In Shell 8.0.16 the \watch command has been introduced. You can specify the refresh interval using --interval, when you start the report, but it could also be nice if you can adjust the interval dynamically while running the report. This can for example be useful if you see something of interest and for a while want to refresh more often to monitor more closely what is going on. Then when the event is over, you can increase the interval again.

How to repeat:
Start a report using the \watch command. If you want to change the interval, you will need to cancel the report and restart it with a new value for --interval.

Suggested fix:
There are different options how to implement this. The simplest is just to listen for e.g. + and - to change the interval some amount from its current value (for example in percent). Another option is to listen for one key, e.g. i, and then allow the user to enter a new interval explicitly.