We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016b093 commit 9a1e7c1Copy full SHA for 9a1e7c1
examples/menu.jl
@@ -4,12 +4,18 @@ using REPL.TerminalMenus
4
5
url = "https://albatross-kite-transport.github.io/VortexStepMethod.jl/dev"
6
7
+help_command = if Sys.iswindows()
8
+ "run(`cmd /c start $url`)"
9
+else
10
+ "run(`xdg-open $url`)"
11
+end
12
+
13
options = ["rectangular_wing = include(\"rectangular_wing.jl\")",
14
"ram_air_kite = include(\"ram_air_kite.jl\")",
15
"stall_model = include(\"stall_model.jl\")",
16
"bench = include(\"bench.jl\")",
17
"cleanup = include(\"cleanup.jl\")",
- "help = run(`firefox $url`)",
18
+ "help = $help_command",
19
"quit"]
20
21
function example_menu()
0 commit comments