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

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home (r,c)
Esempio 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)
Esempio 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)
Esempio n. 8
0
def DoHomeOrigin(fsm):

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