summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 1a16ca0..a0bee13 100644
--- a/ui.c
+++ b/ui.c
@@ -533,6 +533,7 @@ windowScrollSearch(struct Window *window, const char *str, int dir) {
 
 struct Util uiNotifyUtil;
 static void notify(uint id, const char *str) {
+	if (self.restricted) return;
 	if (!uiNotifyUtil.argc) return;
 
 	char buf[1024] = "";