print a friendlier status msg
parent
b9904572f9
commit
d81d0ea4ba
|
@ -63,7 +63,7 @@ module Ui
|
||||||
buffer_size = 2 ** 17
|
buffer_size = 2 ** 17
|
||||||
bytes_read = 0
|
bytes_read = 0
|
||||||
next_message_byte = memory_size / 10
|
next_message_byte = memory_size / 10
|
||||||
print_good("memory_size #{memory_size}")
|
print_good("Dumping #{memory_size} bytes (press Ctrl-C to abort)")
|
||||||
begin
|
begin
|
||||||
data = channel.read(buffer_size)
|
data = channel.read(buffer_size)
|
||||||
until channel.eof || data.nil?
|
until channel.eof || data.nil?
|
||||||
|
|
Loading…
Reference in New Issue