Implement /scrollback feature
/sb would allow us to go to the given line or message in the window.
The intended feature is something similar to that in the irssi client.
The current target is to implement the following features:
SCROLLBACK GOTO <number> or <timestamp>
It will take a number or timestamp as an argument.
/sb goto 10 (Takes you to the 10th message/line from the start in the conversation)
Note: if the number is greater than the number of messages in the group, then it would just implement
/sb goto 2019-05-18 15:50:34 (Takes you to the messages starting with timestamp 2019-05-18 15:50:34)
- if the timestamp is greater than the timestamp of the last message in the group, then it would just implement
- if it is less than the first message in the group, then it would implement
- if the timestamp lies in between the two timestamps, then it would take you to the messages starting with the lesses one of the two timestamps.
It would take you to the start of the conversation.
It would take you to the end of the conversation.