Skip to content

Commit 310071f

Browse files
Add inject documentation
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
1 parent c628d02 commit 310071f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

session.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
// Session represents an iTerm2 Session which is a pane
1111
// within a Tab where the terminal is active
1212
type Session interface {
13+
Inject injects bytes as input to the terminal, as though the running program had produced them.
1314
Inject(b []byte) error
1415
SendText(s string) error
1516
Activate(selectTab, orderWindowFront bool) error

0 commit comments

Comments
 (0)