Jump to content

Terminal control/Preserve screen: Difference between revisions

(upgraded to task.)
Line 2:
The task is to clear the screen, output something on the display, and then restore the screen to the preserved state that it was in before the task was carried out. There is no requirement to change the font or kerning in this task, however character decorations and attributes are expected to be preserved. If the implementer decides to change the font or kerning during the display of the temporary screen, then these settings need to be restored prior to exit.
 
=={{header|JavascriptJavaScript}}==
<lang javascript>(function() {
var orig= document.body.innerHTML
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.