def stop_canon_input(fh_ocfg):
if fh_ocfg is None:
return
args = fh_ocfg[:]
del fh_ocfg[:]
if len(args)>=2:
termios.tcsetattr(args[0],termios.TCSAFLUSH,args[1])
# some tiny test program if started as standalone.
评论列表
文章目录