[PATCH master/rhel7] driver-updates: fix backspace/delete in dd menus (#1080380)

Will Woods wwoods at redhat.com
Mon Sep 15 21:41:00 UTC 2014


Quoth the Python docs:

  If the readline module was loaded, then raw_input() will use it to
  provide elaborate line editing and history features.

..which includes stuff like.. correctly handling backspace. Yay.
---
 dracut/driver-updates | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dracut/driver-updates b/dracut/driver-updates
index 373884f..19bc6ba 100755
--- a/dracut/driver-updates
+++ b/dracut/driver-updates
@@ -43,6 +43,7 @@ import os
 import subprocess
 import time
 import glob
+import readline
 
 log = logging.getLogger("DD")
 
-- 
1.9.3



More information about the anaconda-patches mailing list