From af3f85bbdf2ee6fa21187c3590e94e1ab4171b72 Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sun, 25 Apr 2021 01:05:35 -0700
Subject: [PATCH] The 'T' command key at the batch flag now toggle extended
 file descriptions

This is pretty convenient and handy (rather than having to use &E or the equivalent command from the file xfer menu and then re-list files).
---
 src/sbbs3/listfile.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/sbbs3/listfile.cpp b/src/sbbs3/listfile.cpp
index 210fbb5cde..f11dc96c3e 100644
--- a/src/sbbs3/listfile.cpp
+++ b/src/sbbs3/listfile.cpp
@@ -492,6 +492,10 @@ int sbbs_t::batchflagprompt(smb_t* smb, file_t** bf, ulong* row, uint total
 			return(0);
 		if(ch=='P' || ch=='-')
 			return(3);
+		if(ch=='T') {
+			useron.misc ^= EXTDESC;
+			return 2;
+		}
 		if(ch=='B' || ch=='D') {    /* Flag for batch download */
 			if(useron.rest&FLAG('D')) {
 				bputs(text[R_Download]);
-- 
GitLab