wip
This commit is contained in:
@@ -57,6 +57,15 @@ type Emulator interface {
|
||||
// ActiveScreen reports whether we are on the primary or alternate buffer.
|
||||
ActiveScreen() (Screen, error)
|
||||
|
||||
// ScrollViewportTop moves the viewport to the top of the scrollback.
|
||||
ScrollViewportTop() error
|
||||
|
||||
// ScrollViewportBottom moves the viewport back to the active area.
|
||||
ScrollViewportBottom() error
|
||||
|
||||
// ScrollViewportDelta moves the viewport by `delta` rows (negative = up).
|
||||
ScrollViewportDelta(delta int) error
|
||||
|
||||
// OnWritePTY registers a callback that fires when the emulator wants
|
||||
// to write bytes back to the PTY master (e.g. responses to DA / DSR
|
||||
// queries). The callback runs synchronously inside Write and must not
|
||||
|
||||
Reference in New Issue
Block a user