summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-27 16:18:03 -0500
committerJune McEnroe <june@causal.agency>2018-11-27 16:18:03 -0500
commitd9c47aa94b990e2d2f9e4aeb0c153390808df0d4 (patch)
treea3043e2b020c593b2308ae0e78ee62633324603f /ui.c
parentAdd notification with notify-send (diff)
downloadcatgirl-d9c47aa94b990e2d2f9e4aeb0c153390808df0d4.tar.gz
catgirl-d9c47aa94b990e2d2f9e4aeb0c153390808df0d4.zip
Add M-m key to insert a blank line
For manually marking the log.
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 6075217..430420e 100644
--- a/ui.c
+++ b/ui.c
@@ -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');
 			}