Skip to content
Snippets Groups Projects
Commit a07ad8e9 authored by rswindell's avatar rswindell
Browse files

Added support for the standard "Delete line" control keys (Ctrl-Y/X) to the

the internal message editor. It doesn't redraw the lines below the deleted
line or do anything terribly fancy, but at least it behaves more as one
would expect.
parent 7acadb70
Branches
Tags
No related merge requests found
......@@ -865,6 +865,10 @@ ulong sbbs_t::msgeditor(char *buf, const char *top, char *title)
line--;
continue;
}
if(console&CON_DELETELINE) {
strListDelete(&str, line);
continue;
}
newline();
if(console&CON_DOWNARROW) {
if(str[line] != NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment