mirror of
https://github.com/marcusDenslow/FERRUM.git
synced 2026-10-26 17:29:01 +01:00
- Add ncurses-based interactive git diff viewer (gg dd command) - Create three-pane layout: file list, commit history, and diff content - Implement file staging system with space/A keys for marking files - Add commit workflow with C key and title input dialog - Add push functionality with P key for individual commits - Create dynamic status bar with context-sensitive keybindings - Implement character-by-character text animations for status messages - Add auto-sync functionality to refresh files/commits every 30 seconds - Add spinning progress indicators for fetch/push operations - Fix cursor flickering and improve window layout spacing - Support number key navigation (1=files, 2=view, 3=commits) - Add proper window clearing to prevent content overlap issues
28 lines
484 B
C
28 lines
484 B
C
// brih
|
|
/**
|
|
* main.c
|
|
* Entry point for the LSH shell program
|
|
*/
|
|
|
|
#include "common.h"
|
|
#include "shell.h"
|
|
#include <locale.h>
|
|
|
|
/**
|
|
* Main entry point
|
|
*/
|
|
|
|
int main(int argc, char **argv) {
|
|
// Set locale to support UTF-8
|
|
setlocale(LC_ALL, "en_US.UTF-8");
|
|
|
|
// Setup terminal for proper UTF-8 handling
|
|
// This is Linux equivalent of SetConsoleOutputCP(65001)
|
|
printf("\033%%G"); // Tell terminal to use UTF-8
|
|
|
|
// Start the shell loop
|
|
lsh_loop();
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|