git: 9front

Download patch

ref: 553d30e00a818c14bb9c126d1c184e52b6317d98
parent: a2f9eb0ff874d4dfde1a74203958c10b9d22527e
author: aiju <devnull@localhost>
date: Sat Jun 17 21:51:28 EDT 2017

vmx(1): fix '-v text'

--- a/sys/src/cmd/vmx/vga.c
+++ b/sys/src/cmd/vmx/vga.c
@@ -657,6 +657,8 @@
 
 	if(strcmp(fbstring, "text") == 0){
 		curmode = &textmode;
+		maxw = 640;
+		maxh = 400;
 		return;
 	}else if(strncmp(fbstring, "vesa:", 5) == 0){
 		vesamode = 1;
--