Rev 1534 | Rev 1542 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1534 | Rev 1535 | ||
|---|---|---|---|
| Line 70... | Line 70... | ||
| 70 | 70 | ||
| 71 | static void set_style(int mode) |
71 | static void set_style(int mode) |
| 72 | { |
72 | { |
| 73 | char control[20]; |
73 | char control[20]; |
| 74 | 74 | ||
| 75 | snprintf(control, 20, "\033[%df", mode); |
75 | snprintf(control, 20, "\033[%dm", mode); |
| 76 | sysputs(control); |
76 | sysputs(control); |
| 77 | } |
77 | } |
| 78 | 78 | ||
| 79 | /** ANSI terminal emulation main thread */ |
79 | /** ANSI terminal emulation main thread */ |
| 80 | static void sysio_client_connection(ipc_callid_t iid, ipc_call_t *icall) |
80 | static void sysio_client_connection(ipc_callid_t iid, ipc_call_t *icall) |