Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Remove "-e" from "read -ea packagesnum" #141

Merged
merged 1 commit into from Sep 7, 2015
Merged

Remove "-e" from "read -ea packagesnum" #141

merged 1 commit into from Sep 7, 2015

Conversation

goreliu
Copy link
Contributor

@goreliu goreliu commented Aug 31, 2015

When we use read -e, type something, then press some backspaces, the whole line is empty, including "==> ". And using readline seems unnecessary here.

==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> _
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1_(a backspace)
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
_

Skunnyk added a commit that referenced this pull request Sep 7, 2015
Remove "-e" from "read -ea packagesnum"
@Skunnyk Skunnyk merged commit 3fc0dfb into archlinuxfr:master Sep 7, 2015
@Skunnyk
Copy link
Member

Skunnyk commented Sep 7, 2015

Ok, your PR fix the backspace problem, I hope it does not break other things :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants