Commits


Add color black.


Minor changes in comment.


Don't make async-unsafe calls in signal handlers. This change removes any code that is not asynchronous-safe from signal handlers, leaving those operations to be performed in the main flow of the program. The same strategy cannot be used for SIGSEGV since its handler is not allowed to return normally. In this case, the old handler was simply removed. The reset command may be used to restore the terminal state if Rover ever crashes.


Better scroll setting after "jump to bottom" with few entries.


Merge pull request #8 from joshaw/add-jmp-top-bot Add keybinding to jump to top/bottom of listing.


Show symbolic links with different color.


Add keybinging to jump to top/bottom of listing. Uses single g for top (as in less) and G for bottom.


Use stat.st_mode when possible. This provides a more extensible way to check entry type. Now it's easier to add color definitions to other types (see stat(2)).


Check whether symlink target is a directory. Previously we're using lstat() to make file sizes reflect the actual size occupied by an entry (symbolic links are just small references). However, we need to dereference links in order to know the correct type of their target.


Simplify --save-cwd code.


Merge pull request #3 from Vifon/shell_cd Quick and dirty support for cd in bash and zsh


quick and dirty support for cd in bash and zsh


Style: add whitespace after semicolon.


Use same color for mark signs and mark counter.


More readable division by two.