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 Version 1.2rc6
-------------- --------------
Prestel fixes for Steady and Concealed modes Prestel fixes for Steady and Concealed modes
......
...@@ -2861,7 +2861,17 @@ show_bbslist(char *current, int connected) ...@@ -2861,7 +2861,17 @@ show_bbslist(char *current, int connected)
/* Fall-through */ /* Fall-through */
case -2 - CIO_KEY_MOUSE: /* Clicked outside of window... */ case -2 - CIO_KEY_MOUSE: /* Clicked outside of window... */
if(mouse_pending()) {
do {
getmouse(&mevent); 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 */ /* Fall-through */
case -2 - 0x0f00: /* Backtab */ case -2 - 0x0f00: /* Backtab */
...@@ -3236,7 +3246,17 @@ show_bbslist(char *current, int connected) ...@@ -3236,7 +3246,17 @@ show_bbslist(char *current, int connected)
} }
break; break;
case -2 - CIO_KEY_MOUSE: case -2 - CIO_KEY_MOUSE:
if (mouse_pending()) {
do {
getmouse(&mevent); 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 */ /* Fall-through */
case -2 - 0x0f00: /* Backtab */ case -2 - 0x0f00: /* Backtab */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment