---
name: "tickit_get_term"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_get_term"
---

# tickit\_get\_term(3)

obtain the terminal from the toplevel instance

## NAME

tickit\_get\_term - obtain the terminal from the toplevel instance

## SYNOPSIS

```
#include <tickit.h>

TickitTerm *tickit_get_term(Tickit *t);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_get\_term**() obtains the terminal instance associated with the toplevel instance, creating it first if necessary. Once created, repeated calls to this function will return the same terminal.

## RETURN VALUE

**tickit\_get\_term**() returns a terminal instance pointer.

## SEE ALSO

[**tickit\_new\_stdio**(3)](/tickit_new_stdio/3.md), [**tickit\_term**(7)](/tickit_term/7.md), [**tickit**(7)](/tickit/7.md)
