From 463e62a33b2099b8cc9a71dc85e69ecd24d3e574 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 22 Aug 2006 17:06:52 +0000 Subject: [PATCH] Include last char on the tab line. --- exec/fseditor.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/exec/fseditor.js b/exec/fseditor.js index a7dfea254d..c6b192154b 100644 --- a/exec/fseditor.js +++ b/exec/fseditor.js @@ -692,6 +692,7 @@ function draw_colour_box() /* *should* redraw at any prompt. */ function redraw_screen() { + var last_tab='|'; status_line(); console.gotoxy(1,1); printf(hdr_fmt, "Subj", subj); @@ -705,13 +706,24 @@ function redraw_screen() if((i%(8*2))==0) { console.attributes=CYAN|HIGH; console.print('|'); - } else + last_tab='|'; + } else { console.print(ascii(254)); + last_tab=ascii(254); + } } else { console.attributes=YELLOW|HIGH; console.print(ascii(250)); } } + if(last_tab=='|') { + console.attributes=YELLOW|HIGH; + console.print(ascii(254)); + } + else { + console.attributes=CYAN|HIGH; + console.print('|'); + } if(colour_box_displayed) draw_colour_box(); if(graphics_box_displayed) -- GitLab