Add M-m key to insert a blank line

For manually marking the log.
master
Curtis McEnroe 2018-11-27 16:18:03 -05:00
parent 2eaa36a309
commit d9c47aa94b
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 4 additions and 0 deletions

View File

@ -206,6 +206,9 @@ IRC formatting codes.
.It Aq C-l
Redraw the UI.
.
.It Aq M-m
Insert a blank line in the view.
.
.It Ao M-0 Ac ... Ao M-9 Ac
Switch to view by number.
See

1
ui.c
View File

@ -460,6 +460,7 @@ static void keyChar(wchar_t ch) {
break; case L'f': edit(ui.view->tag, EditForeWord, 0);
break; case L'\b': edit(ui.view->tag, EditKillBackWord, 0);
break; case L'd': edit(ui.view->tag, EditKillForeWord, 0);
break; case L'm': uiLog(ui.view->tag, UICold, L"");
break; default: {
if (ch >= L'0' && ch <= L'9') uiViewNum(ch - L'0');
}