aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-09 16:15:01 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-09 16:15:01 -0400
commitf35a2797f0f96c6c15e25d2b980a0f60360c244a (patch)
tree6e7db18df0635a5ca898ebee0071570bfcbb6f1f
parentc9b3be8313e4e0418ee78d2ce9a6255a8cd7a664 (diff)
downloadtaipan-f35a2797f0f96c6c15e25d2b980a0f60360c244a.tar.gz
Highlight port choices
-rw-r--r--taipan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/taipan.c b/taipan.c
index 5f59bc1..03af06b 100644
--- a/taipan.c
+++ b/taipan.c
@@ -2261,7 +2261,10 @@ void quit(void)
for(choice = 1; choice < 8; ++choice) {
if(choice == 7) crlf();
- cputc(choice + '0');
+ if(choice == port)
+ cputc(choice + '0');
+ else
+ cputc(choice + 0xb0); // inverse number
cputs(") ");
// cputs(location[choice]);
print_msg(location[choice]);