summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-01-29 07:15:02 +0100
committerDave Davenport <qball@gmpclient.org>2019-01-29 07:16:00 +0100
commit640cf28d65c1efc97670f5c0d83bb327eaa6883c (patch)
tree1940e8c5d999db03d60d413c5b193d774b6f2bff
parent3dfbf1c63167059408144072053feb9c020d7e0e (diff)
[Script] Add updating prompt to example script.
-rwxr-xr-xExamples/test_script_mode.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test_script_mode.sh b/Examples/test_script_mode.sh
index 4228ec78..d91f6a0f 100755
--- a/Examples/test_script_mode.sh
+++ b/Examples/test_script_mode.sh
@@ -7,6 +7,8 @@ fi
if [ "$@" ]
then
+ # Override the previously set prompt.
+ echo -en "\x00prompt\x1fChange prompt\n"
for a in {1..10}
do
echo "$a"