X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstream.c;h=804399213ae7cbe87ebcbb96134130d5d4d51dd6;hb=5a06246277a255fe6e0e465ce0f190541b7b0e16;hp=358d06b7b204a566b3fc2a0cc0d9a4d000f132e0;hpb=2407b8e96d1a772f15eedb264117f20196fe1c51;p=rodin%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