File: treset.c

package info (click to toggle)
splitvt 1.6.6-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,004 kB
  • sloc: ansic: 4,953; sh: 99; perl: 15; makefile: 10
file content (10 lines) | stat: -rw-r--r-- 172 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
/* A simple program to reset the scrolling regions of a vt100 terminal */

#include	<stdio.h>

main()
{
	printf("\033[m\033;r\033[;H\033[2J");
	fflush(stdout);
	exit(0);
}