summaryrefslogtreecommitdiff
path: root/console/console.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-06-08 23:33:04 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-06-08 23:33:04 +0000
commitfc2f9b7d7b5c2c25e730896024f03bf828a2d8d5 (patch)
treebedd3aa0ce31e56af275340cf5c90e7b3fe8920b /console/console.c
parentde70b25fcd6b7f3c523efea95863cbfeb4313aae (diff)
2002-06-09 Marcus Brinkmann <marcus@gnu.org>
* display.c (struct cursor): Change type of all members from int to u_int32_t. (screen_init): Initialize SCREEN->lines with 25 instead 200 for now. (screen_fill): Bring SCREEN->current_line into the calculation of MATRIXP. (screen_scroll_up): Likewise. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (display_output_one): Beautify code a bit. (display_read): Add metadata to beginning of file. * console.c (new_node): Increase size of display node to include metadata.
Diffstat (limited to 'console/console.c')
-rw-r--r--console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/console.c b/console/console.c
index 57e93de6..c0dbf4f5 100644
--- a/console/console.c
+++ b/console/console.c
@@ -288,7 +288,7 @@ new_node (struct node **np, vcons_t vcons, vcons_node_type type)
(*np)->nn_stat.st_ino = (vcons->id << 2) + 2;
(*np)->nn_stat.st_mode |= S_IFREG;
(*np)->nn_stat.st_mode &= ~(S_IXUSR | S_IXGRP | S_IXOTH);
- (*np)->nn_stat.st_size = 2000 * sizeof (wchar_t); /* XXX */
+ (*np)->nn_stat.st_size = 2008 * sizeof (wchar_t); /* XXX */
break;
case VCONS_NODE_INPUT:
(*np)->nn_stat.st_ino = (vcons->id << 2) + 3;