gitstack

grindlemire/go-tui code browser

474 B Go 20 lines 2026-03-07 · c6f8412 raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//go:build windows

package tui

// suspendTerminal is a no-op on Windows (no SIGTSTP support).
func (a *App) suspendTerminal() {}

// resumeTerminal is a no-op on Windows.
func (a *App) resumeTerminal() {}

// suspend is a no-op on Windows.
func (a *App) suspend() {}

// Suspend is a no-op on Windows.
func (a *App) Suspend() {}

// registerSuspendSignals is a no-op on Windows. Returns a no-op cleanup.
func (a *App) registerSuspendSignals() func() {
	return func() {}
}