diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/draw.rb | 2 | ||||
-rw-r--r-- | code/keys.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/code/draw.rb b/code/draw.rb index 1b40d47d..b81a7634 100644 --- a/code/draw.rb +++ b/code/draw.rb @@ -281,7 +281,7 @@ module Fm btm = lines - 1 case @buffer - when /^delete/, /^dd/ + when /^delete/, /^dd/, /^dfd/ puti btm, "#@buffer ".rjust(cols) puti btm, 'Are you serious? (' + Option.confirm_string + ')' diff --git a/code/keys.rb b/code/keys.rb index 1026017b..81876019 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -8,7 +8,6 @@ module Fm g y c Z cu ter ta S ?? ?g ?f ?m ?l ?c ?o ?z o m ` ' go - deleteI\ am ddI\ am um @@ -25,6 +24,7 @@ module Fm need_confirmation = %w[ delete dd + dfd ] @@ -125,7 +125,7 @@ module Fm @pwd.schedule when 'dfd' + Option.confirm_string - cf = currrentfile + cf = currentfile if cf and cf.exists? cf.delete! @pwd.schedule |