Skip to content
Snippets Groups Projects
Commit f9b7a4e2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Allow clicking in the comment line to edit.

parent 8aea7d59
No related branches found
No related tags found
No related merge requests found
Version 1.2rc7
--------------
Allow clicking in the comment line to edit
Version 1.2rc6
--------------
Prestel fixes for Steady and Concealed modes
......
......@@ -2861,7 +2861,17 @@ show_bbslist(char *current, int connected)
/* Fall-through */
case -2 - CIO_KEY_MOUSE: /* Clicked outside of window... */
getmouse(&mevent);
if(mouse_pending()) {
do {
getmouse(&mevent);
} while (mouse_pending());
if (mevent.event == CIOLIB_BUTTON_1_CLICK
&& mevent.starty == cio_textinfo.screenheight - 1) {
if (edit_comment(list[opt], settings.list_path))
redraw = 1;
break;
}
}
/* Fall-through */
case -2 - 0x0f00: /* Backtab */
......@@ -3236,7 +3246,17 @@ show_bbslist(char *current, int connected)
}
break;
case -2 - CIO_KEY_MOUSE:
getmouse(&mevent);
if (mouse_pending()) {
do {
getmouse(&mevent);
} while(mouse_pending());
if (mevent.event == CIOLIB_BUTTON_1_CLICK
&& mevent.starty == cio_textinfo.screenheight - 1) {
if (edit_comment(list[opt], settings.list_path))
redraw = 1;
break;
}
}
/* Fall-through */
case -2 - 0x0f00: /* Backtab */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment