• B
    Refactor the code after tree view changes · 42ae7b3d
    Ben S 提交于
    - Turn the views and main program loop into structs, rather than just as one gigantic function
    - Separate views into their own files
    
    The addition of the git column and the tree view meant that a lot of functions now just took extra arguments that didn't seem to fit. For example, it didn't really work to have only one 'view' method that printed out everything, as the different view options now all take different parameters.
    42ae7b3d
main.rs 4.3 KB