diff options
author | G.raud <graud@gmx.com> | 2018-01-29 20:43:01 +0100 |
---|---|---|
committer | G.raud <graud@gmx.com> | 2018-02-02 20:22:43 +0100 |
commit | 90a66ad414be5d9c6f3eff7b37c58d65504dc536 (patch) | |
tree | a5a380206cf286f0c523841f19420ec5d795d369 | |
parent | f2e7488b6ea1cbddd7337143b53c85a4d126671f (diff) | |
download | unison-90a66ad414be5d9c6f3eff7b37c58d65504dc536.zip unison-90a66ad414be5d9c6f3eff7b37c58d65504dc536.tar.gz unison-90a66ad414be5d9c6f3eff7b37c58d65504dc536.tar.bz2 |
Uitext.interact: improve menu order (quitting at the end)
-rw-r--r-- | src/uitext.ml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/uitext.ml b/src/uitext.ml index 6f401ba..7c4c0a2 100644 --- a/src/uitext.ml +++ b/src/uitext.ml @@ -395,22 +395,10 @@ let interact prilist rilist = ("go back to previous item"), (fun () -> newLine(); previous prev ril)); - (["s"], - ("stop reconciling and go to the proceed menu"), - (fun () -> newLine(); - (ConfirmBeforeProceeding, Safelist.rev_append prev ril))); (["R"], ("reverse the list"), (fun () -> newLine(); loop rest (ri::prev))); - (["g"], - ("proceed immediately to propagating changes"), - (fun () -> newLine(); - (ProceedImmediately, Safelist.rev_append prev ril))); - (["q"], - ("exit " ^ Uutil.myName ^ " without propagating any changes"), - (fun () -> newLine(); - raise Sys.Break)); (["/";":"], ("skip"), (fun () -> @@ -453,7 +441,19 @@ let interact prilist rilist = (fun () -> setDirectionIfConflict `Older; redisplayri(); - next())) + next())); + (["s"], + ("stop reconciling and go to the proceed menu"), + (fun () -> newLine(); + (ConfirmBeforeProceeding, Safelist.rev_append prev ril))); + (["g"], + ("proceed immediately to propagating changes"), + (fun () -> newLine(); + (ProceedImmediately, Safelist.rev_append prev ril))); + (["q"], + ("exit " ^ Uutil.myName ^ " without propagating any changes"), + (fun () -> newLine(); + raise Sys.Break)) ] (fun () -> displayri ri) in loop prilist rilist |