示例#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)
示例#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)
示例#3
0
文件: ANSI.py 项目: metalsky/mvst
def DoHomeOrigin(fsm):
    c = 1
    r = 1
    screen = fsm.something[0]
    screen.cursor_home(r, c)
示例#4
0
文件: ANSI.py 项目: metalsky/mvst
def DoHome(fsm):
    c = int(fsm.something.pop())
    r = int(fsm.something.pop())
    screen = fsm.something[0]
    screen.cursor_home(r, c)
示例#5
0
def DoHomeOrigin (fsm):

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

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

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

    c = 1
    r = 1
    screen = fsm.memory[0]
    screen.cursor_home(r, c)
示例#9
0
文件: ANSI.py 项目: BruceYi/okl4
def DoHomeOrigin (fsm):
        c = 1
        r = 1
        screen = fsm.something[0]
        screen.cursor_home (r,c)
示例#10
0
文件: ANSI.py 项目: BruceYi/okl4
def DoHome (fsm):
        c = int(fsm.something.pop())
        r = int(fsm.something.pop())
        screen = fsm.something[0]
        screen.cursor_home (r,c)