diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-27 10:13:51 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-27 10:13:51 +0800 |
commit | e27a5e29fde4f413ba361e14437085935a3fa9c9 (patch) | |
tree | 81c023ab7a39e8e199e04085cb35ca676a838167 | |
parent | efa77f6016446187fce494ac4a13c6a0d719e77e (diff) |
Make prompt bold in gpt
-rwxr-xr-x | bin/gpt/gpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gpt/gpt b/bin/gpt/gpt index 9e6cff8..487b3df 100755 --- a/bin/gpt/gpt +++ b/bin/gpt/gpt | |||
@@ -129,7 +129,8 @@ _get_content() { | |||
129 | if [ ! "$SKIP_INPUT" = true ] ; then | 129 | if [ ! "$SKIP_INPUT" = true ] ; then |
130 | # Read content from terminal | 130 | # Read content from terminal |
131 | while true; do | 131 | while true; do |
132 | read -e -r -p "Let's Chat: " content </dev/tty | 132 | echo -en "\e[1mLet's Chat: \e[0m" |
133 | read -e -r content </dev/tty | ||
133 | if [ "$content" = .c ]; then | 134 | if [ "$content" = .c ]; then |
134 | echo -e '\n======\n' | 135 | echo -e '\n======\n' |
135 | _configure_options | 136 | _configure_options |