From 5ff81b44c8fd118580d011fb61deb662f8b93c93 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 14 Feb 2021 13:48:00 -0500 Subject: toggle view only mode --- command.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'command.h') diff --git a/command.h b/command.h index e366f17..965d568 100644 --- a/command.h +++ b/command.h @@ -63,6 +63,8 @@ ENUM_U16 { CMD_TEXT_SIZE_INCREASE, CMD_TEXT_SIZE_DECREASE, + CMD_VIEW_ONLY, // toggle view-only mode + CMD_ESCAPE, // by default this is the escape key. closes menus, etc. CMD_COUNT @@ -125,6 +127,7 @@ static CommandName const command_names[CMD_COUNT] = { {"tab-prev", CMD_TAB_PREV}, {"increase-text-size", CMD_TEXT_SIZE_INCREASE}, {"decrease-text-size", CMD_TEXT_SIZE_DECREASE}, - {"escape", CMD_ESCAPE} + {"view-only", CMD_VIEW_ONLY}, + {"escape", CMD_ESCAPE}, }; -- cgit v1.2.3