* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <config.h>
+
+#ifdef HAVE_LIBNCURSES
+
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
if (process_selected(selected_process)) {
remove_filter_tid_list(selected_process->tid);
} else {
- add_filter_tid_list(selected_process->tid, selected_process);
+ add_filter_tid_list(selected_process);
}
}
host = g_hash_table_lookup(global_host_list, hostlist->data);
if (i == *line_selected && toggle_filter == 1) {
host->filter = host->filter == 1 ? 0:1;
+ update_hostname_filter(host);
update_current_view();
}
if (i == *line_selected) {
pthread_create(&keyboard_thread, NULL, handle_keyboard, (void *)NULL);
}
+
+#endif /* HAVE_LIBNCURSES */