Implement delta set.

This commit is contained in:
Michael Jumper 2013-03-24 18:16:04 -07:00
parent a102ba4a86
commit 3e21d1c3c7

View File

@ -560,7 +560,14 @@ void guac_terminal_delta_resize(guac_terminal_delta* delta,
void guac_terminal_delta_set(guac_terminal_delta* delta, int r, int c,
guac_terminal_char* character) {
/* STUB */
/* Get operation at coordinate */
guac_terminal_operation* op = &(delta->operations[r*delta->width + c]);
/* Store operation */
op->type = GUAC_CHAR_SET;
op->character = *character;
}
void guac_terminal_delta_copy(guac_terminal_delta* delta,