diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 21:53:37 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 21:53:37 -0500 |
commit | 3cc173dd38e85c751bb1a9f9288ebe974e567ba4 (patch) | |
tree | fa822005135b515307c223e3154c9b03f61203d7 /ted-base.c | |
parent | 90ffcaad047caa55e65a6bf858a7b976e062007a (diff) |
ctrl+pageup/down to switch between tabs
Diffstat (limited to 'ted-base.c')
-rw-r--r-- | ted-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ static void ted_new_file(Ted *ted) { arr_add(node->tabs, (u16)new_buffer_index); TextBuffer *new_buffer = &ted->buffers[new_buffer_index]; if (node->tabs) { - buffer_new_file(new_buffer, "Untitled"); + buffer_new_file(new_buffer, TED_UNTITLED); if (!buffer_haserr(new_buffer)) { ted->active_buffer = new_buffer; node->active_tab = (u16)(arr_len(node->tabs) - 1); |