reset.c 368 B

1234567891011121314
  1. /* vim: tabstop=4 shiftwidth=4 noexpandtab
  2. * This file is part of ToaruOS and is released under the terms
  3. * of the NCSA / University of Illinois License - see LICENSE.md
  4. * Copyright (C) 2018 K. Lange
  5. *
  6. * reset - make the terminal sane, and clear it
  7. */
  8. #include <stdlib.h>
  9. int main(int argc, char * argv[]) {
  10. system("stty sane");
  11. system("clear");
  12. return 0;
  13. }