diff options
author | benadha <benawiadha@gmail.com> | 2021-02-01 12:26:58 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2021-02-01 12:26:58 +0700 |
commit | b994d74912f3f236497ed6f59b41f2423ec091d8 (patch) | |
tree | fd0cf5b7a4b05739b0540a4483a8d96ecabcb11b /epy.py | |
parent | 9cafe038debb8c7bcc48d4290eb46a94c8db600b (diff) | |
download | epy-b994d74912f3f236497ed6f59b41f2423ec091d8.tar.gz |
Better left click mouse in choice_win
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -944,6 +944,9 @@ def choice_win(allowdel=False): elif mouse_event[4] == curses.BUTTON1_CLICKED\ and mouse_event[2] >= 6 and mouse_event[2] < rows-4\ and mouse_event[2] < 6+totlines: + if index == mouse_event[2]-6+y: + key_chwin = list(K["Follow"])[0] + continue index = mouse_event[2]-6+y elif mouse_event[4] == curses.BUTTON3_CLICKED: key_chwin = list(K["Quit"])[0] |