lib/renote/models/shell.rb in renote-0.2 vs lib/renote/models/shell.rb in renote-0.2.1
- old
+ new
@@ -61,12 +61,13 @@
end
def handle_input(c)
if c=="\e"
finish!
+ else
+ @output_file.putc c
+ putc '.'
end
- @output_file.putc c
- putc '.'
end
# read a character without pressing enter and without printing to the screen
def read_char
begin