Example #1
0
def DoHome (fsm):
    global ignoreText

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    if r == 7 and c in range(60, 70):
        ignoreText = True
    else:
        screen = fsm.memory[0]
        screen.cursor_home (r,c)
Example #2
0
def DoHome(fsm):
    global ignoreText

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    if r == 7 and c in range(60, 70):
        ignoreText = True
    else:
        screen = fsm.memory[0]
        screen.cursor_home(r, c)
Example #3
0
def DoHomeOrigin(fsm):
    c = 1
    r = 1
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Example #4
0
def DoHome(fsm):
    c = int(fsm.something.pop())
    r = int(fsm.something.pop())
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Example #5
0
def DoHomeOrigin (fsm):

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Example #6
0
def DoHome (fsm):

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Example #7
0
def DoHome(fsm):

    c = int(fsm.memory.pop())
    r = int(fsm.memory.pop())
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
Example #8
0
def DoHomeOrigin(fsm):

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
Example #9
0
File: ANSI.py Project: BruceYi/okl4
def DoHomeOrigin (fsm):
        c = 1
        r = 1
        screen = fsm.something[0]
        screen.cursor_home (r,c)
Example #10
0
File: ANSI.py Project: BruceYi/okl4
def DoHome (fsm):
        c = int(fsm.something.pop())
        r = int(fsm.something.pop())
        screen = fsm.something[0]
        screen.cursor_home (r,c)