German Larrain avatar German Larrain committed d670e34

demo_runner: added separator and data printing; changed an info message.

Comments (0)

Files changed (1)

 INSTRUCTIONS = """
 Enter one of the following values:
    d:         print demo list
-   (number):  run a demo (patience, the first time takes it takes a while)
+   (number):  run a demo (patience, the first launch is a little slower)
    q:         quit
 """
 
 
 
 def show_demo_list():
+	print("-" * 30)
+	print("\nDEMO LIST\n\nindex: (module, class name)")
+
 	for i, option in enumerate(DEMOS):
 		print('%s: %s' % (i, option))
 
 	module = import_module(DEMOS_PACKAGE_PREFIX + '.' + selected_demo[0])
 	klass = getattr(module, selected_demo[1])
 
+	print("-" * 30)
+	print('%s: %s' % (selected_demo_index, selected_demo))
+
 	sim_program = klass()
 	sim_program.start()
 	try:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.