Rev 4515 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4515 | Rev 4541 | ||
|---|---|---|---|
| Line 75... | Line 75... | ||
| 75 | putchar(*(s++)); |
75 | putchar(*(s++)); |
| 76 | } |
76 | } |
| 77 | 77 | ||
| 78 | static void start_standout(uint32_t color) |
78 | static void start_standout(uint32_t color) |
| 79 | { |
79 | { |
| - | 80 | fflush(stdout); |
|
| 80 | console_set_rgb_color(fphone(stdout), 0xf0f0f0, color); |
81 | console_set_rgb_color(fphone(stdout), 0xf0f0f0, color); |
| 81 | } |
82 | } |
| 82 | 83 | ||
| 83 | static void resume_normal(void) |
84 | static void resume_normal(void) |
| 84 | { |
85 | { |
| - | 86 | fflush(stdout); |
|
| 85 | console_set_rgb_color(fphone(stdout), 0, 0xf0f0f0); |
87 | console_set_rgb_color(fphone(stdout), 0, 0xf0f0f0); |
| 86 | } |
88 | } |
| 87 | 89 | ||
| 88 | void clear_screen(void) |
90 | void clear_screen(void) |
| 89 | { |
91 | { |
| Line 112... | Line 114... | ||
| 112 | scr_clear(); |
114 | scr_clear(); |
| 113 | } |
115 | } |
| 114 | 116 | ||
| 115 | void moveto(int r, int c) |
117 | void moveto(int r, int c) |
| 116 | { |
118 | { |
| - | 119 | fflush(stdout); |
|
| 117 | console_goto(fphone(stdout), c, r); |
120 | console_goto(fphone(stdout), c, r); |
| 118 | } |
121 | } |
| 119 | 122 | ||
| 120 | winsize_t winsize; |
123 | winsize_t winsize; |
| 121 | 124 | ||