supprimer l'appel à eflush

This commit is contained in:
Jephté Clain 2024-03-11 18:18:26 +04:00
parent 12344f7b14
commit 7cbddf02a3
1 changed files with 0 additions and 6 deletions

View File

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