# LibTmux.Program.ProgramScreen

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L106
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-program-t-programscreen/

```haskell
data ProgramScreen
```

A rendered terminal snapshot, including retained history. This is not a
 byte stream or a separation of stdout and stderr. Newlines and terminal
 editing follow capture-pane. Byte omission is exact for this snapshot;
 history omission is reported separately.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`ProgramScreen`](/en/haskell/latest/reference/libtmux-program-t-programscreen/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L111))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`ProgramScreen`](/en/haskell/latest/reference/libtmux-program-t-programscreen/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L111))

## Members

### Common operations

- [`historyTruncated`](/en/haskell/latest/reference/libtmux-program-v-programscreen-historytruncated/) (record field): Earlier output may have exceeded retained history.
- [`omittedBytes`](/en/haskell/latest/reference/libtmux-program-v-programscreen-omittedbytes/) (record field): Exact bytes clipped from this captured snapshot.

### Other members

- [`ProgramScreen`](/en/haskell/latest/reference/libtmux-program-v-programscreen/) (data constructor)
- [`screenBytes`](/en/haskell/latest/reference/libtmux-program-v-programscreen-screenbytes/) (record field): At most outputLimit bytes; clipping may split UTF-8.

## Referenced declarations

- [`LibTmux.Program.ProgramScreen`](/en/haskell/latest/reference/libtmux-program-t-programscreen/) (data type)
