Versions in this module Expand all Collapse all v1 v1.0.1 May 21, 2025 v1.0.0 May 21, 2025 Changes in this version + func RegisterAPCHandler(APC string, handler APCHandler) + type APCHandler func(*Terminal, string) + type Config struct + Columns uint + Rows uint + Title string + type Printer interface + Print func([]byte) + type PrinterFunc func([]byte) + func (p PrinterFunc) Print(d []byte) + type ReadWriterConfigurator interface + SetupReadWriter func(r io.Reader, w io.WriteCloser) (io.Reader, io.WriteCloser) + type ReadWriterConfiguratorFunc func(r io.Reader, w io.WriteCloser) (io.Reader, io.WriteCloser) + func (m ReadWriterConfiguratorFunc) SetupReadWriter(r io.Reader, w io.WriteCloser) (io.Reader, io.WriteCloser) + type Terminal struct + func New() *Terminal + func (t *Terminal) AcceptsTab() bool + func (t *Terminal) AddListener(listener chan Config) + func (t *Terminal) CreateRenderer() fyne.WidgetRenderer + func (t *Terminal) Cursor() desktop.Cursor + func (t *Terminal) DoubleTapped(pe *fyne.PointEvent) + func (t *Terminal) DragEnd() + func (t *Terminal) Dragged(d *fyne.DragEvent) + func (t *Terminal) Exit() + func (t *Terminal) ExitCode() int + func (t *Terminal) FocusGained() + func (t *Terminal) FocusLost() + func (t *Terminal) Focused() bool + func (t *Terminal) KeyDown(e *fyne.KeyEvent) + func (t *Terminal) KeyUp(e *fyne.KeyEvent) + func (t *Terminal) MinSize() fyne.Size + func (t *Terminal) MouseDown(ev *desktop.MouseEvent) + func (t *Terminal) MouseUp(ev *desktop.MouseEvent) + func (t *Terminal) RemoveListener(listener chan Config) + func (t *Terminal) Resize(s fyne.Size) + func (t *Terminal) RunLocalShell() error + func (t *Terminal) RunWithConnection(in io.WriteCloser, out io.Reader) error + func (t *Terminal) SelectedText() string + func (t *Terminal) SetDebug(debug bool) + func (t *Terminal) SetPrinterFunc(printerFunc PrinterFunc) + func (t *Terminal) SetReadWriter(mw ReadWriterConfigurator) + func (t *Terminal) SetStartDir(path string) + func (t *Terminal) Tapped(ev *fyne.PointEvent) + func (t *Terminal) Text() string + func (t *Terminal) TouchCancel(ev *mobile.TouchEvent) + func (t *Terminal) TouchDown(ev *mobile.TouchEvent) + func (t *Terminal) TouchUp(ev *mobile.TouchEvent) + func (t *Terminal) TypedKey(e *fyne.KeyEvent) + func (t *Terminal) TypedRune(r rune) + func (t *Terminal) TypedShortcut(s fyne.Shortcut) + func (t *Terminal) Write(b []byte) (int, error)