summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-23 11:32:52 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-23 11:32:52 -0500
commitf4172376d933c5c9033ff421f04db828825f9017 (patch)
tree8d53b18edb7aec7896ca48e5ab06c4448eec53e5 /command.c
parent376d732e48b89b0a0a392e2582826775e2d4a2d1 (diff)
start goto line
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/command.c b/command.c
index 4488289..37ec84a 100644
--- a/command.c
+++ b/command.c
@@ -301,8 +301,11 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_BUILD_PREV_ERROR:
build_prev_error(ted);
break;
- case CMD_OPEN_DEFINITION_MENU:
+ case CMD_GOTO_DEFINITION:
menu_open(ted, MENU_GOTO_DEFINITION);
break;
+ case CMD_GOTO_LINE:
+ menu_open(ted, MENU_GOTO_LINE);
+ break;
}
}