mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 12:33:26 +08:00
Replace puts() with wprintf()
This commit is contained in:
parent
177e06808c
commit
6daa8d7e12
@ -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…
x
Reference in New Issue
Block a user