diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 18:33:56 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 18:33:56 -0500 |
commit | 90ffcaad047caa55e65a6bf858a7b976e062007a (patch) | |
tree | c76eb58d233fab1a70fe49253ebaa639fe23ca65 /command.c | |
parent | a0b84cc8f40e19a506332be3a05222b87e6ed617 (diff) |
tabs working pretty well (not done yet)
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -140,6 +140,9 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_OPEN: menu_open(ted, MENU_OPEN); break; + case CMD_NEW: + ted_new_file(ted); + break; case CMD_SAVE: if (buffer) { if (buffer->filename && streq(buffer->filename, "Untitled")) { |