From a3adbe5ea6015a76a3df84ee5942b89fbb762947 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 18 Jan 2021 16:37:51 -0500 Subject: opening files kinda working --- command.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'command.h') diff --git a/command.h b/command.h index 6410c3e..50821b5 100644 --- a/command.h +++ b/command.h @@ -44,6 +44,8 @@ ENUM_U16 { CMD_ESCAPE, // by default this is the escape key. closes menus, etc. + CMD_SUBMIT_LINE_BUFFER, // submit "line buffer" value -- the line buffer is where you type file names when opening files, etc. + CMD_COUNT } ENUM_U16_END(Command); @@ -87,6 +89,7 @@ static CommandName const command_names[CMD_COUNT] = { {"redo", CMD_REDO}, {"increase-text-size", CMD_TEXT_SIZE_INCREASE}, {"decrease-text-size", CMD_TEXT_SIZE_DECREASE}, - {"escape", CMD_ESCAPE} + {"escape", CMD_ESCAPE}, + {"submit-line-buffer", CMD_SUBMIT_LINE_BUFFER} }; -- cgit v1.2.3