changeset 24:9740ae97a3a9

paste mode
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 19 Jun 2016 10:54:38 +0200
parents a47fafb6e1e5
children 8cc0d349b9c3
files basics.rst
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/basics.rst	Sat Jun 18 13:25:24 2016 +0200
+++ b/basics.rst	Sun Jun 19 10:54:38 2016 +0200
@@ -62,7 +62,8 @@
 That's because the console automatically understands that when you indent a
 line, you mean it to be a block of code inside the "for" loop. You have to
 un-indent the last line (by removing the spaces with backspace) to finish this
-command.
+command. You can avoid that by using "paste mode" -- press ``ctrl+E``, paste
+your code, and then press ``ctrl+D`` to have it executed.
 
 What happened? Nothing interesting, the LED just shines like it did. That's
 because the program blinked that LED as fast as it could -- so fast, that we