shithub: nvi

Download patch

ref: 748cb65df1bf26d73030a178d5390edd7f007934
parent: 49ae1aed99f40ded9df16dd5f1d4a2ead34142a2
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Jun 20 14:55:42 EDT 2021

add -i header and empty line for clear separation

--- a/nvi.c
+++ b/nvi.c
@@ -88,8 +88,10 @@
 
 	qsort(info->fmt, info->nfmt, sizeof(Format), cmpfmt);
 	if(cmd == Cinfo){
+		print("ID\tQUALITY\tSIZE\tFORMAT\n");
 		for(i = 0, f = info->fmt; i < info->nfmt; i++, f++)
 			print("%d\t%s\t%Z\t%s\n", f->id, f->quality, f->sz, f->type);
+		print("\n");
 		print("author: %s\n", info->author);
 		print("title: %s\n", info->title);
 		print("description: %s\n", info->title);