Example #1
0
File: ANSI.py Project: BruceYi/okl4
def DoErase (fsm):
        arg = int(fsm.something.pop())
        screen = fsm.something[0]
        if arg == 0:
                screen.erase_down()
        elif arg == 1:
                screen.erase_up()
        elif arg == 2:
                screen.erase_screen()
Example #2
0
def DoErase(fsm):
    arg = int(fsm.something.pop())
    screen = fsm.something[0]
    if arg == 0:
        screen.erase_down()
    elif arg == 1:
        screen.erase_up()
    elif arg == 2:
        screen.erase_screen()
Example #3
0
def DoErase (fsm):

    arg = int(fsm.memory.pop())
    screen = fsm.memory[0]
    if arg == 0:
        screen.erase_down()
    elif arg == 1:
        screen.erase_up()
    elif arg == 2:
        screen.erase_screen()
Example #4
0
def DoErase(fsm):

    arg = int(fsm.memory.pop())
    screen = fsm.memory[0]
    if arg == 0:
        screen.erase_down()
    elif arg == 1:
        screen.erase_up()
    elif arg == 2:
        screen.erase_screen()
Example #5
0
def DoEraseDown(fsm):
    screen = fsm.something[0]
    screen.erase_down()
Example #6
0
def DoEraseDown (fsm):

    screen = fsm.memory[0]
    screen.erase_down()
Example #7
0
def DoEraseDown(fsm):

    screen = fsm.memory[0]
    screen.erase_down()
Example #8
0
File: ANSI.py Project: BruceYi/okl4
def DoEraseDown (fsm):
        screen = fsm.something[0]
        screen.erase_down()