mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Fixed omission in prev commit (complete mappings)
This commit is contained in:
@ -255,7 +255,7 @@ _picocom_filter_mappings()
|
|||||||
cura=( $cur1 )
|
cura=( $cur1 )
|
||||||
IFS=$' \t\n'
|
IFS=$' \t\n'
|
||||||
# consider last mapping partial unless string ends in separator
|
# consider last mapping partial unless string ends in separator
|
||||||
[[ $cur1 != *[$', \t'] ]] && unset cura[-1]
|
[[ ${#cura[@]} -gt 0 && $cur1 != *[$', \t'] ]] && unset cura[-1]
|
||||||
for m in "${mappings[@]}"; do
|
for m in "${mappings[@]}"; do
|
||||||
found=
|
found=
|
||||||
for c in "${cura[@]}"; do
|
for c in "${cura[@]}"; do
|
||||||
|
Reference in New Issue
Block a user