about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-04 17:44:05 +0200
committerhut <hut@lavabit.com>2009-07-04 17:44:05 +0200
commitf0c18d64739e496cf943ea794fa937cff0a7916d (patch)
tree6cd3015cb1bbe8457dcb63e04e7f79f4ffa3eda9
parent682f623eb89b13831c607bdcc05917599410a3d9 (diff)
downloadranger-f0c18d64739e496cf943ea794fa937cff0a7916d.tar.gz
ask for confirmation on delete
-rw-r--r--code/draw.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/draw.rb b/code/draw.rb
index 84e0e9b4..b493c846 100644
--- a/code/draw.rb
+++ b/code/draw.rb
@@ -281,6 +281,9 @@ module Fm
 			btm = lines - 1
 
 			case @buffer
+			when 'seriouslydd', 'dd'
+				puti btm, "Are you serious? Please press y to confirm."
+
 			when 'S'
 				puti btm, "Sort by (n)ame (s)ize (m)time (c)time (CAPITAL:reversed)"
 			when 't'