Not sure how feasible this would be from the shell's perspective. But the only option I can see is to delay wiping the screen until the first result for a new query arrives. The question is then how to make it clear to the user that no results actually arrived if the connection is dead.
Not sure how feasible this would be from the shell's perspective. But the only option I can see is to delay wiping the screen until the first result for a new query arrives. The question is then how to make it clear to the user that no results actually arrived if the connection is dead.