Index: uspace/lib/congfx/include/congfx/console.h
===================================================================
--- uspace/lib/congfx/include/congfx/console.h	(revision 211fd689737d35925504cec0c8fb09d1af3bd74d)
+++ uspace/lib/congfx/include/congfx/console.h	(revision 08fcaf2e9fc8c8f800c122f335594e981d2a53bd)
@@ -49,4 +49,5 @@
 extern errno_t console_gc_suspend(console_gc_t *);
 extern errno_t console_gc_resume(console_gc_t *);
+extern errno_t console_gc_resize(console_gc_t *);
 extern gfx_context_t *console_gc_get_ctx(console_gc_t *);
 
Index: uspace/lib/congfx/src/console.c
===================================================================
--- uspace/lib/congfx/src/console.c	(revision 211fd689737d35925504cec0c8fb09d1af3bd74d)
+++ uspace/lib/congfx/src/console.c	(revision 08fcaf2e9fc8c8f800c122f335594e981d2a53bd)
@@ -314,4 +314,40 @@
 }
 
+/** Update console GC size after console resize.
+ *
+ * @param con Console object
+ *
+ * @return EOK on success or an error code
+ */
+errno_t console_gc_resize(console_gc_t *cgc)
+{
+	sysarg_t rows;
+	sysarg_t cols;
+	charfield_t *buf = NULL;
+	errno_t rc;
+
+	console_unmap(cgc->con, cgc->buf);
+	cgc->buf = NULL;
+
+	rc = console_get_size(cgc->con, &cols, &rows);
+	if (rc != EOK)
+		goto error;
+
+	rc = console_map(cgc->con, cols, rows, &buf);
+	if (rc != EOK)
+		goto error;
+
+	cgc->rect.p0.x = 0;
+	cgc->rect.p0.y = 0;
+	cgc->rect.p1.x = cols;
+	cgc->rect.p1.y = rows;
+	cgc->clip_rect = cgc->rect;
+	cgc->buf = buf;
+	return EOK;
+error:
+	return rc;
+}
+
+
 /** Get generic graphic context from console GC.
  *
