Update 05.04.2026
This commit is contained in:
@@ -185,7 +185,7 @@ Result is stored as `$reply[REPLY]` (`$` isn't needed before `REPLY` because
|
||||
of arithmetic context inside `[]`). The returned array might be different from
|
||||
input arguments as `n-list` can process them via incremental search or uniq
|
||||
mode. `$REPLY` is the index in that possibly processed array. If `$REPLY`
|
||||
equals `-1` it means that no selection have been made (user quitted via `q`
|
||||
equals `-1` it means that no selection have been made (user quit via `q`
|
||||
key).
|
||||
|
||||
To set up entries that can be jumped to with `[`,`]` keys add their indices to
|
||||
|
||||
@@ -170,7 +170,7 @@ while (( 1 )); do
|
||||
elif [ -n "$keypad" ]; then
|
||||
final_key="$keypad"
|
||||
else
|
||||
_vpreview_status_msg "Inproper input detected"
|
||||
_vpreview_status_msg "Improper input detected"
|
||||
zcurses refresh status
|
||||
fi
|
||||
|
||||
|
||||
@@ -55,9 +55,9 @@ _nlist_cursor_visibility() {
|
||||
[ "$1" = "1" ] && { tput cvvis; tput cnorm }
|
||||
[ "$1" = "0" ] && tput civis
|
||||
elif [ "$_nlist_has_terminfo" = "1" ]; then
|
||||
[ "$1" = "1" ] && { [ -n $terminfo[cvvis] ] && echo -n $terminfo[cvvis];
|
||||
[ -n $terminfo[cnorm] ] && echo -n $terminfo[cnorm] }
|
||||
[ "$1" = "0" ] && [ -n $terminfo[civis] ] && echo -n $terminfo[civis]
|
||||
[ "$1" = "1" ] && { [ -n "$terminfo[cvvis]" ] && echo -n "$terminfo[cvvis]";
|
||||
[ -n "$terminfo[cnorm]" ] && echo -n "$terminfo[cnorm]" }
|
||||
[ "$1" = "0" ] && [ -n "$terminfo[civis]" ] && echo -n "$terminfo[civis]"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -467,7 +467,7 @@ while (( 1 )); do
|
||||
elif [ -n "$keypad" ]; then
|
||||
final_key="$keypad"
|
||||
else
|
||||
_nlist_status_msg "Inproper input detected"
|
||||
_nlist_status_msg "Improper input detected"
|
||||
zcurses refresh main inner
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user