app

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package app is noct's workspace, run by the daemon: the home screen, tabs of panes, noct mode, the render loop and the terminal attached to it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(version string) *App

New prepares the workspace of a daemon built as version.

func (*App) Serve

func (a *App) Serve(listener net.Listener) (err error)

Serve runs the workspace for the terminals that connect through listener, until the user quits. Programs keep running while no terminal is attached.

type PaneInfo

type PaneInfo struct {
	ID       int    `json:"id"`
	Session  string `json:"session"`
	Tab      int    `json:"tab"`
	Title    string `json:"title"`
	Focused  bool   `json:"focused"`
	Floating bool   `json:"floating,omitempty"`
	Cols     int    `json:"cols"`
	Rows     int    `json:"rows"`
}

PaneInfo describes a pane to the MCP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL