Skip to content

Commit e35f129

Browse files
committed
FIXED: Temporarily #134
1 parent 79c2a73 commit e35f129

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

TUIFIManager/__main__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# sys.path.append('/home/xou/.local/lib/python3.11/site-packages/') # TESTING WITH DAP | REMINDER: python3.XX
88
import argparse
99
import unicurses as uc
10-
from TUIFIManager import TUIFIManager, BEGIN_MOUSE, END_MOUSE, __version__, DEFAULT_BACKGROUND
10+
from TUIFIManager import TUIFIManager, BEGIN_MOUSE, END_MOUSE, __version__, DEFAULT_BACKGROUND, IS_TERMUX
1111

1212
ESCAPE_KEY = 27
1313

@@ -33,7 +33,8 @@ def main():
3333
uc.cbreak ( )
3434
uc.noecho ( )
3535
uc.curs_set (0)
36-
uc.mouseinterval(0) # Initializing Mouse and then Update/refresh() stdscr
36+
if not IS_TERMUX:
37+
uc.mouseinterval(0)
3738
uc.mousemask (uc.ALL_MOUSE_EVENTS | uc.REPORT_MOUSE_POSITION) # print("\033[?1003h\n")
3839
uc.keypad (stdscr, True )
3940
uc.nodelay (stdscr, False)

0 commit comments

Comments
 (0)