diff options
author | toni <toni@devlap.local> | 2014-12-23 04:09:30 +0100 |
---|---|---|
committer | toni <toni@devlap.local> | 2014-12-23 04:09:30 +0100 |
commit | 9cc0432011cda38870e7e8e9b082265ffbe24dbf (patch) | |
tree | 70c83d595eadeb046ce43d477a54fe68995595e3 /ui_input.c | |
parent | 2bb3dfdc0138a924b88a8a8529b4c01b43ae1add (diff) |
working ui .. (testing)
Diffstat (limited to 'ui_input.c')
-rw-r--r-- | ui_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ del_input(WINDOW *win, struct input *a) if (a->input_len == 0) return (UICB_ERR_BUF); memmove((a->input + a->input_pos - 1), (a->input + a->input_pos), a->input_max - a->input_pos); --a->input_len; + *(a->input + a->input_len) = '\0'; if (a->input_pos-1 == a->input_len) { --a->input_pos; } |