Index: console/console.c
===================================================================
--- console/console.c	(revision e1c48496341d45b9f2059a63d35c10fb1d3fb28a)
+++ console/console.c	(revision 0c6984e40dcbca4c518ecebb32148c2b3d2f0cdd)
@@ -182,5 +182,5 @@
 				if (c == '0') {
 					/* switch to kernel console*/
-					sync_send_2(fb_info.phone, FB_CURSOR_VISIBILITY, 0, 0, NULL, NULL);
+					nsend_call(fb_info.phone, FB_CURSOR_VISIBILITY, 0); 
 					nsend_call_2(fb_info.phone, FB_SET_STYLE, DEFAULT_FOREGROUND_COLOR, DEFAULT_BACKGROUND_COLOR); 
 					nsend_call(fb_info.phone, FB_CLEAR, 0); 
@@ -291,9 +291,12 @@
 			
 			break;
+
 		case CONSOLE_GETSIZE:
 			arg1 = fb_info.cols;
 			arg2 = fb_info.rows;
 			break;
-
+		case CONSOLE_FLUSH:
+			sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);		
+			break;
 		case CONSOLE_GETCHAR:
 			if (keybuffer_empty(&(connections[consnum].keybuffer))) {
Index: console/console.h
===================================================================
--- console/console.h	(revision e1c48496341d45b9f2059a63d35c10fb1d3fb28a)
+++ console/console.h	(revision 0c6984e40dcbca4c518ecebb32148c2b3d2f0cdd)
@@ -37,4 +37,5 @@
 #define CONSOLE_GOTO	1029
 #define CONSOLE_GETSIZE	1030
+#define CONSOLE_FLUSH	1031
 
 #endif
Index: libc/include/ipc/fb.h
===================================================================
--- libc/include/ipc/fb.h	(revision e1c48496341d45b9f2059a63d35c10fb1d3fb28a)
+++ libc/include/ipc/fb.h	(revision 0c6984e40dcbca4c518ecebb32148c2b3d2f0cdd)
@@ -19,4 +19,5 @@
 #define FB_GET_RESOLUTION    1035
 #define FB_DRAW_TEXT_DATA    1036
+#define FB_FLUSH             1037
 
 #endif
