changed epoll to poll, updated README for FreeBSD
This commit is contained in:
parent
4db9c714bb
commit
b16433ab60
2 changed files with 6 additions and 2 deletions
|
@ -25,8 +25,8 @@ def is_terminated():
|
|||
|
||||
def read_input(inp):
|
||||
"""Read i3bar input and execute callbacks"""
|
||||
epoll = select.epoll()
|
||||
epoll.register(sys.stdin.fileno(), select.EPOLLIN)
|
||||
epoll = select.poll()
|
||||
epoll.register(sys.stdin.fileno())
|
||||
log.debug("starting click event processing")
|
||||
while inp.running:
|
||||
if is_terminated():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue