Commits

Anonymous committed 6e22363

Correct scrollback offset when new text is added.

Comments (0)

Files changed (1)

   $self->{view_offset} = $offset;
 }
 
+sub on_scroll_back {
+  my ($self, $lines, $saved) = @_;
+  $self->{view_offset} = 0;
+}
+
 sub on_user_command {
   my ($self, $cmd) = @_;
   if ($cmd =~ s/^url-picker\b//) {