How to resolve the algorithm Terminal control/Inverse video step by step in the Pascal programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Terminal control/Inverse video step by step in the Pascal programming language
Table of Contents
Problem Statement
Display a word in inverse video (or reverse video) followed by a word in normal video.
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Terminal control/Inverse video step by step in the Pascal programming language
Source code in the pascal programming language
program InverseVideo;
{$LINKLIB tinfo}
uses
ncurses;
begin
initscr;
attron(A_REVERSE);
printw('reversed');
attroff(A_REVERSE);
printw(' normal');
refresh;
getch;
endwin;
end.
You may also check:How to resolve the algorithm Greedy algorithm for Egyptian fractions step by step in the Raku programming language
You may also check:How to resolve the algorithm Hailstone sequence step by step in the MiniScript programming language
You may also check:How to resolve the algorithm Sort three variables step by step in the IS-BASIC programming language
You may also check:How to resolve the algorithm A+B step by step in the TUSCRIPT programming language
You may also check:How to resolve the algorithm JSON step by step in the Julia programming language