summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 3e10a93..fc161e2 100644
--- a/command.c
+++ b/command.c
@@ -126,7 +126,7 @@ void command_execute(Ted *ted, Command c, i64 argument) {
if (buffer->selection)
buffer_indent_selection(buffer);
else
- buffer_insert_char_at_cursor(buffer, '\t');
+ buffer_insert_tab_at_cursor(buffer);
}
break;
case CMD_BACKTAB: