|
@@ -82,6 +82,7 @@ static void mssh_window_insert(GtkWidget *widget, gchar *new_text,
|
|
|
|
|
|
for(i = 0; i < window->terminals->len; i++)
|
|
|
{
|
|
|
+ fprintf(stderr, "Sending text '%s' to terminal %d\n", new_text, i);
|
|
|
mssh_terminal_send_string(g_array_index(window->terminals,
|
|
|
MSSHTerminal*, i), new_text);
|
|
|
}
|
|
@@ -98,6 +99,7 @@ static gboolean mssh_window_key_press(GtkWidget *widget,
|
|
|
|
|
|
for(i = 0; i < window->terminals->len; i++)
|
|
|
{
|
|
|
+ fprintf(stderr, "Sending keyval %d to terminal %d\n", event->keyval, i);
|
|
|
mssh_terminal_send_data(g_array_index(window->terminals,
|
|
|
MSSHTerminal*, i), event);
|
|
|
}
|