User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:gettextinfo

This is an old revision of the document!


gettextinfo

void gettextinfo(struct text_info *r);

description of gettextinfo

Retrieves information from text-mode.

transfers the current text mode video information into the structure text_info pointed to by r.

available is wintop, winleft, winright, winbottom, attribute, normattr, currmode, screenheight, screenwidth, curx, cury

#include <conio.h>
 
int main(void)
{
    struct text_info information;
    gettextinfo(&information);
    cprintf("window left      %2d\r\n",information.winleft);
    return 0;
}

output of gettextinfo c example

  window left   0

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/gettextinfo.1360371293.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz