[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] Capture tab in a readline.
From: |
Sinbad |
Subject: |
[Help-bash] Capture tab in a readline. |
Date: |
Mon, 21 Aug 2017 17:11:38 +0530 |
Hi,
I'm trying to capture tab with readline. The following is not working as
expected.
I don't want to use "-n 1", as i need the command editing capability. Any
advice ?
while IFS= read -e -i "$cmd" -p $prompt char
do
if [[ "$char" == "$mytab" ]]; then
echo "got tab"
fi
done
- [Help-bash] Capture tab in a readline.,
Sinbad <=