supprimer l'appel à eflush
This commit is contained in:
parent
12344f7b14
commit
7cbddf02a3
|
@ -53,7 +53,6 @@ function ask_yesno() {
|
|||
[ -n "$interactive" ] && default=O || default=N
|
||||
fi
|
||||
if [ -n "$interactive" ]; then
|
||||
eflush
|
||||
local message="$1"
|
||||
local prompt="[oN]"
|
||||
local r
|
||||
|
@ -110,7 +109,6 @@ function ask_any() {
|
|||
local i count="${#format}"
|
||||
|
||||
if [ -n "$interactive" ]; then
|
||||
eflush
|
||||
local message="${1:-Voulez-vous continuer?}"
|
||||
local prompt="[$format]"
|
||||
local r f lf defi
|
||||
|
@ -192,7 +190,6 @@ function __rv_read() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
eflush
|
||||
local __rv_r
|
||||
while true; do
|
||||
if [ -n "$__rv_msg" ]; then
|
||||
|
@ -248,7 +245,6 @@ function simple_menu() {
|
|||
fi
|
||||
[ -z "$__sm_default" ] && __sm_default="${!__sm_option_var}"
|
||||
|
||||
eflush
|
||||
array_copy __sm_options "$__sm_options_var"
|
||||
local __sm_c=0 __sm_i __sm_choice
|
||||
while true; do
|
||||
|
@ -437,7 +433,6 @@ function __actions_menu() {
|
|||
}
|
||||
|
||||
function __void_actions_menu() {
|
||||
eflush
|
||||
local c=0 choice
|
||||
while true; do
|
||||
if [ $c -eq 0 ]; then
|
||||
|
@ -482,7 +477,6 @@ function __void_actions_menu() {
|
|||
}
|
||||
|
||||
function __options_actions_menu() {
|
||||
eflush
|
||||
local c=0 option choice action option
|
||||
while true; do
|
||||
if [ $c -eq 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue