summary refs log tree commit diff
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
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.
-rw-r--r--chatte.13
-rw-r--r--ui.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/chatte.1 b/chatte.1
index c8420ee..f788ff1 100644
--- a/chatte.1
+++ b/chatte.1
@@ -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
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');
 			}
d class='logsubject'>Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that. 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe