X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.c;h=804399213ae7cbe87ebcbb96134130d5d4d51dd6;hb=91214934fbcdfd363202a65c142194506604ff7b;hp=358d06b7b204a566b3fc2a0cc0d9a4d000f132e0;hpb=f4dde3bc7531f005ea8589ed0df7d2c75a156a71;p=projects%2Fchimara%2Fchimara.git
diff --git a/src/stream.c b/src/stream.c
index 358d06b..8043992 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -33,6 +33,7 @@ window_stream_new(winid_t window)
/* Create stream and connect it to window */
strid_t str = stream_new_common(0, filemode_Write, STREAM_TYPE_WINDOW);
str->window = window;
+ str->style = "normal";
return str;
}
@@ -154,10 +155,10 @@ glk_put_char_uni(glui32 ch)
*
* Prints a null-terminated string to the current stream. It is exactly
* equivalent to
- *
+ * |[
* for (ptr = @s; *ptr; ptr++)
* #glk_put_char(*ptr);
- *
+ * ]|
* However, it may be more efficient.
*/
void
@@ -189,10 +190,10 @@ glk_put_string_uni(glui32 *s)
*
* Prints a block of characters to the current stream. It is exactly equivalent
* to:
- *
+ * |[
* for (i = 0; i < @len; i++)
* #glk_put_char(@buf[i]);
- *
+ * ]|
* However, it may be more efficient.
*/
void