RosettaCodeData/Task/Terminal-control-Inverse-video/Pascal/terminal-control-inverse-video.pascal

15 lines
193 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
program InverseVideo;
{$LINKLIB tinfo}
uses
ncurses;
begin
initscr;
attron(A_REVERSE);
printw('reversed');
attroff(A_REVERSE);
printw(' normal');
refresh;
getch;
endwin;
end.