diff --git a/src/event.cpp b/src/event.cpp index 81d4ef373..71f811437 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -162,7 +162,7 @@ wcstring event_get_desc(const event_t &e) { #if 0 static void show_all_handlers(void) { - puts("event handlers:"); + wprintf(L"event handlers:\n"); for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); ++iter) { const event_t *foo = *iter; wcstring tmp = event_get_desc(foo); diff --git a/src/screen.cpp b/src/screen.cpp index ebbb74739..ed88745d7 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -661,7 +661,7 @@ static bool test_stuff(screen_t *scr) int c = getchar(); if (c != EOF) break; } - puts("Bye"); + wprintf(L"Bye\n"); exit(0); while (1) sleep(10000); return true;