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
Currently, option 'z' in the Warp menu will sleep between readings for the number of seconds given by the user.
Firstly, this number of seconds is asked in milliseconds, even though it is actually implemented in seconds.
Secondly, we can't sleep at the resolution of milliseconds, since the current implementation of the function accepts the time to sleep in seconds.
The simplest solution is to provide an option to the user asking whether they want to sleep during the delay. If they choose yes, then ask for the delay in seconds. If not, ask for the delay in seconds, and do a busy loop for that time.
The text was updated successfully, but these errors were encountered:
Currently, option 'z' in the Warp menu will sleep between readings for the number of seconds given by the user.
Firstly, this number of seconds is asked in milliseconds, even though it is actually implemented in seconds.
Secondly, we can't sleep at the resolution of milliseconds, since the current implementation of the function accepts the time to sleep in seconds.
The simplest solution is to provide an option to the user asking whether they want to sleep during the delay. If they choose yes, then ask for the delay in seconds. If not, ask for the delay in seconds, and do a busy loop for that time.
The text was updated successfully, but these errors were encountered: