> this is a very good point! Even if this was approached with an external > tool you probably just start implementing st again with all the bells > and whistles, let alone the fact that you need a separate program to > make st work as desired in a normal setup within a window manager.
No, you don't have to implement anything about vt, you only have to keep a list of lines, nothing else. When the user wants to scrollback you move your pointer n lines back and then print everything to the terminal. It is a very simple tool. You can take a look to the draft that Evan wrote here in [1]. Regards, [1] http://ix.io/1vQQ