mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
committed by
vanhofen
parent
6640d44a7d
commit
46bbcebef9
@@ -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" */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user