Revision 121f3bc0 image_creator/output/cli.py

b/image_creator/output/cli.py
1
# -*- coding: utf-8 -*-
2
#
1 3
# Copyright 2012 GRNET S.A. All rights reserved.
2 4
#
3 5
# Redistribution and use in source and binary forms, with or
......
61 63

  
62 64

  
63 65
def clear(stream):
64
    #clear the page
66
    """Clears the terminal screen."""
65 67
    if stream.isatty():
66 68
        stream.write('\033[H\033[2J')
67 69

  

Also available in: Unified diff