return class;
}
+static int brailleLine = -1;
+static int brailleCol = -1;
+
static int check_attachment_marker (char *);
static void
if (n == 0 || ISHEADER (lineInfo[n-1].type))
{
- if (buf[0] == '\n')
+ if (buf[0] == '\n') {
lineInfo[n].type = MT_COLOR_NORMAL;
- else if (n > 0 && (buf[0] == ' ' || buf[0] == '\t'))
+ getyx(stdscr, brailleLine, brailleCol);
+ } else if (n > 0 && (buf[0] == ' ' || buf[0] == '\t'))
{
lineInfo[n].type = lineInfo[n-1].type; /* wrapped line */
(lineInfo[n].syntax)[0].color = (lineInfo[n-1].syntax)[0].color;
redraw = 0;
- move (statusoffset, COLS-1);
+ if (option(OPTBRAILLEFRIENDLY)) {
+ if (brailleLine!=-1) {
+ move(brailleLine+1, 0);
+ brailleLine = -1;
+ }
+ } else move (statusoffset, COLS-1);
mutt_refresh ();
if (IsHeader (extra) && OldHdr == extra->hdr && TopLine != topline