Terminal control/Preserve screen: Difference between revisions

Content added Content deleted
(→‎{{header|Common Lisp}}: Add a Lisp example using ncurses.)
(Added Forth implementation)
Line 143: Line 143:
;; "ESC [ ? 1049 l" - Disable alternative screen buffer
;; "ESC [ ? 1049 l" - Disable alternative screen buffer
(princ "\033[?1049l")</lang>
(princ "\033[?1049l")</lang>

=={{header|Forth}}==
{{trans|C}}
{{works with|gforth|0.7.3}}
<lang forth>.\" \033[?1049h\033[H" \ preserve screen
." Press any key to return" ekey drop
.\" \033[?1049l" \ restore screen</lang>


=={{header|Go}}==
=={{header|Go}}==