xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 034dc44fa97ba45bf20e8b971871609b14c63ebc

Substitute ui/ui:switch_windows() function
Into the place of its single use.
Author: xaizek
Author date (UTC): 2016-01-14 14:45
Committer name: xaizek
Committer date (UTC): 2016-01-14 14:45
Parent(s): df8a9e342451fd7f753cc39e0d88fbb447316a61
Signing key:
Tree: 2886e081489204f845ddc15795896af372e5a96a
File Lines added Lines deleted
src/ui/ui.c 4 8
src/ui/ui.h 0 4
File src/ui/ui.c changed (mode: 100644) (index de5da03bf..9d7dfe2a6)
... ... move_window(FileView *view, int horizontally, int first)
1116 1116 split_view(split_type); split_view(split_type);
1117 1117 if(view != desired_view) if(view != desired_view)
1118 1118 { {
1119 switch_windows();
1119 /* Switch two panes saving current windows as the active one (left/top or
1120 * right/bottom). */
1121 switch_panes_content();
1122 go_to_other_pane();
1120 1123 } }
1121 1124 } }
1122 1125
1123 void
1124 switch_windows(void)
1125 {
1126 switch_panes_content();
1127 go_to_other_pane();
1128 }
1129
1130 1126 void void
1131 1127 switch_panes(void) switch_panes(void)
1132 1128 { {
File src/ui/ui.h changed (mode: 100644) (index 43571094d..bb0932191)
... ... void refresh_view_win(FileView *view);
414 414 * (horizontally/vertically, left-top/right-bottom). */ * (horizontally/vertically, left-top/right-bottom). */
415 415 void move_window(FileView *view, int horizontally, int first); void move_window(FileView *view, int horizontally, int first);
416 416
417 /* Switches two panes saving current windows as the active one (left/top or
418 * right/bottom). */
419 void switch_windows(void);
420
421 417 /* Swaps current and other views. */ /* Swaps current and other views. */
422 418 void switch_panes(void); void switch_panes(void);
423 419
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master