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

Vratislav Podzimek vpodzime at redhat.com
Tue Sep 16 07:00:38 UTC 2014


On Mon, 2014-09-15 at 17:41 -0400, Will Woods wrote:
> 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")
ACK, we use it in our text mode for the same reason. 

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list