Clear screen after prompts.

This commit is contained in:
Michael Jumper 2013-05-22 11:54:28 -07:00
parent 88dfb1517d
commit ae7959c6a4

View File

@ -147,6 +147,9 @@ void* ssh_client_thread(void* data) {
prompt(client, "Password: ", client_data->password, sizeof(client_data->password), false) == NULL)
return NULL;
/* Clear screen */
guac_terminal_write_all(stdout_fd, "\x1B[H\x1B[J", 6);
/* Open SSH session */
client_data->session = ssh_new();
if (client_data->session == NULL) {