# LibTmux::Model::PaneRef.clock-mode

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Model.rakumod#L485
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-clock-mode/

```
method clock-mode(--> Result:D)
```

Enter tmux's clock mode for this pane.

Enter tmux's clock mode for this pane.

## tmux command

The tmux commands behind `clock-mode`.

- [`clock-mode`](/en/tmux/latest/manual/clock-mode/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_clock_mode_entry`](/en/tmux/latest/reference/c-variable-cmd_clock_mode_entry/) (attribute)
- [`cmd_copy_mode_exec`](/en/tmux/latest/reference/c-function-cmd-copy-mode-c-cmd_copy_mode_exec/) (function)

## In other ports

Show the clock in a pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.clock_mode`](/en/py/latest/reference/libtmux-pane-clock_mode/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on `Pane` |
| Rust | [`pane.Pane.clock_mode`](/en/rs/latest/reference/pane-pane-clock_mode/) (method) |
| Go | [`tmux.Pane.ClockMode`](/en/go/latest/reference/tmux-pane-clockmode/) (method) |
| Java | no equivalent on `Pane` |
| C# | [`LibTmux.Pane.EnterClockModeAsync`](/en/csharp/latest/reference/libtmux-pane-enterclockmodeasync/) (method) |
| C++ | no equivalent on `Pane` |
| Swift | no equivalent on `Pane` |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
