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