summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-16 17:19:06 -0500
committerJune McEnroe <june@causal.agency>2018-12-16 17:19:06 -0500
commit0b3d927e030876e20a5f408447ecf0238269a9eb (patch)
tree0210780c61cd8f2380f04b0a4af2af72c3d3d134 /ui.c
parentMove base64 back to pls.c (diff)
downloadcatgirl-0b3d927e030876e20a5f408447ecf0238269a9eb.tar.gz
catgirl-0b3d927e030876e20a5f408447ecf0238269a9eb.zip
Add M-? to apply ROT13
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index a4fedf5..fbbaae2 100644
--- a/ui.c
+++ b/ui.c
@@ -472,6 +472,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'?':  edit(ui.view->tag, EditROT13, 0);
 			break; case L'm':  uiLog(ui.view->tag, UICold, L"");
 			break; default: {
 				if (ch >= L'0' && ch <= L'9') uiViewNum(ch - L'0');