test commit

this is a test
This commit is contained in:
2025-06-07 14:44:10 +02:00
parent c7baafcbd1
commit cc43c993b7
4 changed files with 10 additions and 9 deletions

View File

@@ -1435,3 +1435,4 @@ char ***lsh_split_piped_line(char *line) {
commands[cmd_position] = NULL;
return commands;
}
// stash check

View File

@@ -1216,15 +1216,7 @@ int push_commit(NCursesDiffViewer *viewer, int commit_index) {
}
}
// Start pushing animation immediately
viewer->sync_status = SYNC_STATUS_PUSHING_APPEARING;
viewer->animation_frame = 0;
viewer->text_char_count = 0;
// Force render and refresh to show immediate animation start
render_status_bar(viewer);
wrefresh(viewer->status_bar_win);
refresh();
// Animation already started by key handler for immediate feedback
// Do the actual push work
int result;
@@ -2562,6 +2554,14 @@ int handle_ncurses_diff_input(NCursesDiffViewer *viewer, int key) {
case 'P': // Push commit
if (viewer->commit_count > 0 &&
viewer->selected_commit < viewer->commit_count) {
// Show immediate feedback
viewer->sync_status = SYNC_STATUS_PUSHING_APPEARING;
viewer->animation_frame = 0;
viewer->text_char_count = 0;
// Force a quick render to show "Pushing!" immediately
render_status_bar(viewer);
wrefresh(viewer->status_bar_win);
// Now do the actual push
push_commit(viewer, viewer->selected_commit);
}
break;

Binary file not shown.

BIN
shell

Binary file not shown.