aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Murphy <alec@checksum.fail>2017-07-15 18:11:05 -0400
committerAlec Murphy <alec@checksum.fail>2017-07-15 18:11:05 -0400
commit4fc7954f7966438f01a786687221ae9506d04339 (patch)
tree461c734a07a2eec29cc3bf2328f49d5c72d37777
parent42236ceecd5c55d38614a362eddc3ec0736ed6a6 (diff)
Fix connection entries
-rwxr-xr-xLoad.HC7
1 files changed, 5 insertions, 2 deletions
diff --git a/Load.HC b/Load.HC
index ba4efce..0e09ad6 100755
--- a/Load.HC
+++ b/Load.HC
@@ -644,6 +644,8 @@ U0 TempleTermSession(I64 sock)
if (StrFind("35",ansi_buf)) { tt_cur_fg=bold+5; };
if (StrFind("36",ansi_buf)) { tt_cur_fg=bold+3; };
if (StrFind("37",ansi_buf)) { tt_cur_fg=bold+7; };
+ if (StrFind("39",ansi_buf)) { tt_cur_fg=WHITE; };
+
if (StrFind("40",ansi_buf)) { tt_cur_bg=0; };
if (StrFind("41",ansi_buf)) { tt_cur_bg=4; };
@@ -653,6 +655,7 @@ U0 TempleTermSession(I64 sock)
if (StrFind("45",ansi_buf)) { tt_cur_bg=5; };
if (StrFind("46",ansi_buf)) { tt_cur_bg=3; };
if (StrFind("47",ansi_buf)) { tt_cur_bg=7; };
+ if (StrFind("49",ansi_buf)) { tt_cur_bg=BLACK; };
if (StrFind("90",ansi_buf)) { tt_cur_fg=bold+0; };
if (StrFind("91",ansi_buf)) { tt_cur_fg=bold+4; };
@@ -1150,8 +1153,8 @@ U0 Run()
ConnEntriesRecalc;
while (res!=-1)
{
- res = PopUpBookmarkLst(conn_list);
- if (res!=-1 && res<(conn_idx-3))
+ res = PopUpBookmarkLst(conn_list);
+ if (res!=-1 && res<(conn_idx))
{
TempleTermConnect(conn_entries[res].host, conn_entries[res].port);
};