shithub: ham

Download patch

ref: c10c1a587521d858c33ae96376c7bcf58563aec6
parent: ab870dad3e16da1d77020b570a51af977e674666
author: kvik <kvik@a-b.xyz>
date: Mon Feb 3 17:49:42 EST 2020

Automatically  zerox  a window to a default size

--- a/samterm/menu.c
+++ b/samterm/menu.c
@@ -138,6 +138,10 @@
 		break;
 
 	case Zerox:
+		if(!hostlock)
+			duplicate(which, which->entire, which->f.font, 0);
+		break;
+
 	case Resize:
 		if(!hostlock){
 			setcursor(mousectl, &bullseye);