lib/shellplay/session.rb in shellplay-0.0.3 vs lib/shellplay/session.rb in shellplay-0.0.4

- old
+ new

@@ -34,9 +34,14 @@ s = Shellplay::Screen.new s.import(screenhash) @sequence << s end + def drop_last_screen + @sequence.pop + @pointer -= 1 + end + def next @pointer += 1 end def show(index)