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
When server starts `reconnect` and then `connect`s again, it resends full input starting from the start of the session. The app is currently just ignoring "reconnect/connect" and sends the output from the start as is (see screenshot above).
The graceful handling of this case would be cleaning up previous input before setting received one (user's current input in the readline can be kept).
I guess that the code would look like somewhat like this:
On receiving this input the client is expected to visually indicate to the user that session finished instead of keeping unresponsive console UI. Ideally, session restart should be offered.
The text was updated successfully, but these errors were encountered:
Original issue: play-with-docker/play-with-docker.github.io#246
Reconnect
Screenshot
The graceful handling of this case would be cleaning up previous input before setting received one (user's current input in the
readline
can be kept).I guess that the code would look like somewhat like this:
I am not exactly sure though on this suggestion and would advise to refer to the protocol's documentation first.
"Session end"
On receiving this input the client is expected to visually indicate to the user that session finished instead of keeping unresponsive console UI. Ideally, session restart should be offered.
The text was updated successfully, but these errors were encountered: