Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
def DoHomeOrigin(fsm):
    c = 1
    r = 1
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Exemplo n.º 4
0
def DoHome(fsm):
    c = int(fsm.something.pop())
    r = int(fsm.something.pop())
    screen = fsm.something[0]
    screen.cursor_home(r, c)
Exemplo n.º 5
0
def DoHomeOrigin (fsm):

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Exemplo n.º 6
0
def DoHome (fsm):

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

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

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
Exemplo n.º 9
0
Arquivo: ANSI.py Projeto: BruceYi/okl4
def DoHomeOrigin (fsm):
        c = 1
        r = 1
        screen = fsm.something[0]
        screen.cursor_home (r,c)
Exemplo n.º 10
0
Arquivo: ANSI.py Projeto: BruceYi/okl4
def DoHome (fsm):
        c = int(fsm.something.pop())
        r = int(fsm.something.pop())
        screen = fsm.something[0]
        screen.cursor_home (r,c)