Changeset ed88c8e in mainline for uspace/srv/hid/output/proto/vt100.c
- Timestamp:
- 2018-05-29T13:25:07Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc0b2a8
- Parents:
- a57fa32
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/proto/vt100.c
ra57fa32 red88c8e 139 139 140 140 vt100_state_t *vt100_state_create(sysarg_t cols, sysarg_t rows, 141 vt100_put char_t putchar_fn, vt100_control_puts_t control_puts_fn,141 vt100_putwchar_t putwchar_fn, vt100_control_puts_t control_puts_fn, 142 142 vt100_flush_t flush_fn) 143 143 { … … 146 146 return NULL; 147 147 148 state->put char = putchar_fn;148 state->putwchar = putwchar_fn; 149 149 state->control_puts = control_puts_fn; 150 150 state->flush = flush_fn; … … 219 219 } 220 220 221 void vt100_put char(vt100_state_t *state, wchar_t ch)222 { 223 state->put char(ch == 0 ? ' ' : ch);221 void vt100_putwchar(vt100_state_t *state, wchar_t ch) 222 { 223 state->putwchar(ch == 0 ? ' ' : ch); 224 224 state->cur_col++; 225 225
Note:
See TracChangeset
for help on using the changeset viewer.