Commit Graph

44 Commits

Author SHA1 Message Date
c7baafcbd1 added line highlighter in view pane
the view pane was working good and scrolling was fine, but it was impossible to know which line you were on because there was no cursor. this is now added, scrolling with j k ctrl d and ctrl u now works just like in vim (I LOVE VIM) this is just a change for satisfaction for now but will come in handy in the future when i make line by line and hunk staging and commitng. as comitting is onlyy possible file by file right now
2025-06-07 14:41:26 +02:00
1824c97f2c finnaly made formatting work (ncurses works in mysterius ways)
had a problem where the commit info was cluttered together with only 1 new line between eachother making it hard to read, fixed this with some propper formatting and now things are actually readable
2025-06-07 11:38:53 +02:00
56795c2761 testing 2025-06-07 11:19:50 +02:00
c28872f6bc testing
test commit
2025-06-07 11:10:16 +02:00
142b873ef6 this is a test
testing lining
2025-06-07 11:07:56 +02:00
c98f9b5fa1 added some formatting and colors to the commit info in the view pane
this is a test
2025-06-07 11:03:32 +02:00
e9406f469d added white line and a bunch of changes
here is a message
2025-06-07 02:23:27 +02:00
32333e6bd0 added full git stash features
added dropping appluing and shit
2025-06-07 01:12:03 +02:00
a7179b98b6 adding stash names
stashing the changes will prompt the user for a name
2025-06-07 01:04:22 +02:00
f505bb8dbb added git stash command and pane
ever messed up a feature and its not working, and you just dont want to work on that shit anymore, well thats how i use stash. all the changes into the stash so that i can fix it in the future (will never get worked on in the future)
2025-06-07 00:59:44 +02:00
ca2ed6f7bb added a confirmation window for HARD REVERTS. and fixed some animations
this is a test push
2025-06-06 21:33:49 +02:00
3f9c126b9b added handling for devergance
when renaming a commit the program was unable to Push because the local branch had diverged from the remote branch. now there is a divergance handler that asks you if you want to force push anyway, which is very nice!
2025-06-06 21:22:37 +02:00
ae306fee97 changing name 2025-06-06 21:13:11 +02:00
908abb6b33 new things!! 2025-06-06 20:55:54 +02:00
c8442f74cd this is another test
this even another test
2025-06-06 20:43:35 +02:00
9d702b93d7 just checking if the file clearing works
THIS IS A TEST COMMIT
2025-06-06 20:38:26 +02:00
07cab0fc86 attempt at fixing unstaged files hanging around after commit, also some miner status changes to be more clear
this change is aiming to fix the files still appearing in unstaged files even though it was just comitted. also the Pushing command would say synced! when done, this was just a filler from the fetching feature. this now has a Pushed! status, the same has been added to pulling
2025-06-06 20:23:31 +02:00
d9ec095206 added ability to open gg dd without any changes, and added pulling commits
this is a change that makes it able to have this view open without having any changes in the code. also makes it able to go into the commits pane and hit p to pull that commit
2025-06-06 16:12:29 +02:00
2519a4f871 fixed message box character deletion issues 2025-06-06 16:06:08 +02:00
aa2f5eb272 q 2025-06-06 15:34:11 +02:00
d79cbf46c3 this is a test of the title bar scrolling correctlykkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
thhsdsdsdfsdfssdfsdfsdf
this is aqqq
2025-06-06 15:29:54 +02:00
fe915f80b3 added a commit message box when comitting
bruh
2025-06-06 15:21:46 +02:00
01f7107c07 added git diff view with ncurses! command: gg dd
- 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
2025-06-06 15:09:58 +02:00
54e85964b0 added live syncing in the command to fetch changes 2025-06-06 12:44:35 +02:00
232e9a7a24 this is a test 2025-06-06 12:38:39 +02:00
00eb2aff0e adding a bunch of changes to gg dd command 2025-06-06 12:22:19 +02:00
c131398063 updating the marking and commit ui. 2025-06-06 11:02:34 +02:00
625f6d9570 this is another test 2025-06-06 10:52:20 +02:00
a1a7ec38ac this is a test commit 2025-06-06 10:46:12 +02:00
4a618cba0e Implement interactive diff viewer for git changes
- Add comprehensive diff_viewer module with split-panel interface
  - Replace simple `git diff` in `gg d` command with interactive viewer
  - Implement two-mode navigation system:
    * File list mode: navigate files with j/k, Enter to view
    * Content mode: scroll diff content with j/k, ESC to return
  - Support both tracked and untracked file diffs with proper handling
  - Add color-coded diff display (green additions, red deletions)
  - Include terminal raw mode handling for responsive keyboard input
  - Add test files for diff viewer functionality
2025-06-01 22:51:43 +02:00
521fb13b1b -m 2025-06-01 22:21:30 +02:00
f306225b81 -m 2025-06-01 22:15:37 +02:00
c53e22efef implemented system monitor
simple system monitor to view cpu usage, ram and so on. this is not a
finished implementation but i just made refreshing work fine. used
alternative screen buffer, and buffered output which build the entire
display in memory and then outputs once.

there are still many bugs, like the list isnt displaying processes
sorted, or maybe not working at all. some of the border characters are
misaligned, and there is alot more usefull info that could be added.

if there is anything in specific that you would want to see in this
command, or in the program in general, just hit me up on github and
request it, and ill add it as fast as i can.

--marcus
2025-05-31 15:02:18 +02:00
2e6f7da67c added stats command
stats is a command that will show you which command you have used the
most, and predicts your next command based on freciency
2025-05-31 14:05:45 +02:00
723939da1b Fix tab completion directory suggestions and add scrolling menu
- Fix directory path completion to avoid duplicate folder names in
suggestions
  - Add scrolling support for suggestion menus with more than 10 items
  - Display scroll indicators showing count of items above/below visible
window
  - Implement dynamic menu filtering that updates in real-time as user
types
  - Add right arrow key to accept inline suggestions without opening
menu
  - Add Shift+Tab for backward navigation through suggestions
  - Remove "." and ".." entries from all tab completion suggestions
  - Fix menu clearing bug that left stale entries on screen
  - Improve suggestion display with proper spacing and visual separation
2025-05-23 23:25:00 +02:00
e85aea0117 fixing formatting for news command
the news wasnt able to read new lines and would just put \n in the
sentence. this is now fixed and looks like expected
2025-05-03 23:30:06 +02:00
e0e191ffd8 added news support
after the migration to linux the news didnt work. this is now working,
and im using this commit as a check to see if it is working
2025-05-03 23:25:16 +02:00
5cab701dba idek 2025-05-03 15:50:41 +02:00
a4512c95b3 added command stacking with &&
run multiple different commands in a row using && between commands
2025-05-01 13:12:55 +02:00
61d478c5fe added advanced ls support
using ls now creates a table and populates it with entries. added piping
to ls so filter the search (credits to nuShell for the idea)

ls | contains name xxx to ls for only entries containing the string
ls | where size < or > 10mb, kb, gb etc
ls | select name, size modified type. select which collums you want to
see in the result
2025-05-01 12:37:56 +02:00
40ea8a1cb8 Fix subdirectory path completion suggestions display
Fixed issue where subdirectory paths (e.g. "cd shelltest/ha") would not
show low opacity
   text for completions even though Tab accepts them. Modified
display_inline_suggestion
  to properly handle filename parts within subdirectory paths, ensuring
the completion
  text is correctly displayed for nested paths.
2025-05-01 00:07:44 +02:00
f0bd91a691 new git features and touched up suggestions
the suggestion that is currently "hovered" over in the suggestion list
will be appended inline to the prompt. also hitting tab when only one
match is found will now accept that suggestion instead of opening the
menu

added gg o flag to open the current repo in github if it is a git repo
2025-04-30 23:27:07 +02:00
e0a386effa making suggestion system work in linux
the suggestions were not working after porting to linux. remade the
system but with a better ui (feels so freeing not working on windows
anymore) now its similar to the zsh autocomplete plugin. start typing
and a suggestion will pop up, hit enter to start cycling suggestions in
the new ui and hit enter on the wanted suggestion
2025-04-28 17:36:06 +02:00
08fb0af502 first commit 2025-04-28 12:35:52 +02:00