mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Replace puts() with wprintf()
This commit is contained in:
parent
177e06808c
commit
6daa8d7e12
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue