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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0de439f466
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-01-28 (Sun, 28 Jan 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2018-01-28 20:34:24 +01:00
committed by vanhofen
parent 120f704fd4
commit 5554ef47ce

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" */
}