aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/epy.py b/epy.py
index df44340..7bff4fa 100755
--- a/epy.py
+++ b/epy.py
@@ -534,6 +534,10 @@ def choice_win(allowdel=False):
index = 0
elif key_chwin in K["EndOfCh"]:
index = totlines - 1
+ elif key_chwin == ord("D") and allowdel:
+ return (0 if index == 0 else index-1), index
+ # chwin.redrawwin()
+ # chwin.refresh()
elif key_chwin == ord("d") and allowdel:
resp, _ = choice_win()(
lambda: ("Delete '{}'?".format(