mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +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
|
#if 0
|
||||||
static void show_all_handlers(void) {
|
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) {
|
for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); ++iter) {
|
||||||
const event_t *foo = *iter;
|
const event_t *foo = *iter;
|
||||||
wcstring tmp = event_get_desc(foo);
|
wcstring tmp = event_get_desc(foo);
|
||||||
|
|
|
@ -661,7 +661,7 @@ static bool test_stuff(screen_t *scr)
|
||||||
int c = getchar();
|
int c = getchar();
|
||||||
if (c != EOF) break;
|
if (c != EOF) break;
|
||||||
}
|
}
|
||||||
puts("Bye");
|
wprintf(L"Bye\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
while (1) sleep(10000);
|
while (1) sleep(10000);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue