@ -74,7 +74,7 @@ class Interface(cmd.Cmd):
if line == 'current':
pass
elif line == 'next':
if self._cursor + 1 > len(self._message):
if self._cursor + 1 >= len(self._messages):
print 'There is no next message.'
print
return