diff --git a/config.h b/config.h index 82b20aa..d2f3090 100644 --- a/config.h +++ b/config.h @@ -47,7 +47,7 @@ enum keys { }; enum actions { - COUNTING, + COUNTING = 500, DELETE }; diff --git a/vip.c b/vip.c index 8ce1aa9..e253b93 100644 --- a/vip.c +++ b/vip.c @@ -185,8 +185,8 @@ void refresh_screen(void) draw_rows(); if (!cat_mode) { draw_status_bar(); - move_cursor((cur_editor->y - cur_editor->rowoff) + 1, - (cur_editor->rx - cur_editor->coloff) + 1); + move_cursor(cur_editor->y - cur_editor->rowoff + 1, + cur_editor->rx - cur_editor->coloff + 1 + 7); } } @@ -1229,6 +1229,7 @@ int main(int argc, char **argv) memset(&cmd, 0, MAX_COMMAND_SIZE); } else { move_xy(ARROW_DOWN); + wpprintw("%d", DELETE); } break; }