yaft: make "CSI ?1c" response linux console compatible

Origin commit data
------------------
Commit: 0de439f466
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-01-28 (Sun, 28 Jan 2018)
This commit is contained in:
Stefan Seyfried
2018-01-28 20:34:24 +01:00
committed by vanhofen
parent 6640d44a7d
commit 46bbcebef9

View File

@@ -314,8 +314,8 @@ void YaFT_p::status_report(struct parm_t *parm)
void YaFT_p::device_attribute(struct parm_t *parm)
{
/* TODO: refer VT525 DA */
(void) parm;
if (parm->argc > 0 && dec2num(parm->argv[0]))
return; /* compatibility with linux console */
write(fd, "\033[?6c", 5); /* "I am a VT102" */
}