Terminal settings, command suggestions and auto-reconnect

Change the terminal font and scrollback, use grey suggestions from your command history, and control how dropped connections reconnect.

Terminal options are in Settings → Terminal.

Font and scrollback

  • Font size: from 8 to 32. The default is 14.
  • Font family: a list of fonts, in the order to try them. The default is JetBrains Mono, Menlo, Monaco, 'Courier New', monospace.
  • Scrollback lines: how many lines each terminal keeps, from 500 to 100,000. The default is 10,000.

These apply to newly opened terminals. If your settings come From my account (in Settings → Appearance), the font and scrollback are synced with your account too.

The terminal uses a fixed dark colour scheme. Settings → Appearance → Accent colour changes the colour of buttons and highlights, including search matches in the terminal.

Suggestions from your command history

With Suggest commands from history on (the default), the rest of a command you’ve run before appears in grey as you type.

  • Press → or End to accept the whole suggestion.
  • Press Alt+→ (⌥→ on a Mac) to accept only the next word.

Suggestions come first from commands you’ve run on the same host. If there’s no match there, they can come from your other hosts.

What is and isn’t kept:

  • Commands are kept on this device only. They’re encrypted and never synced or shared.
  • Duo22 keeps up to 500 recent commands per host.
  • A command that starts with a space is not kept.
  • Nothing typed inside full-screen programs (such as editors) is kept, and input the shell doesn’t show on screen, such as passwords, is never recorded.

To erase the history, click Clear command history and confirm. This forgets the commands typed on every host. To stop suggestions entirely, turn the switch off.

Auto-reconnect

Reconnect for (seconds) sets how long Duo22 keeps trying to reconnect when a connection drops, for example after a server reboot, a network blip or waking from sleep. The default is 30 seconds and the maximum is 3,600. Set it to 0 to turn auto-reconnect off.

While it’s reconnecting, the tab shows Reconnecting and a bar above the output reads “Connection lost. Reconnecting… attempt N, Xs left”, along with the reason the last attempt failed. On that bar:

  • Retry now tries again straight away.
  • Stop gives up and leaves the tab closed.

The tab keeps all its output. When the connection comes back, [reconnected] is printed and you carry on. If you end the session yourself (for example with exit), it doesn’t reconnect. It also stops early if retrying can’t help, such as failed authentication or a rejected host key.

You can reconnect a closed or failed tab at any time with the Reconnect button in its toolbar, or from the right-click menu of the terminal or the tab.

Host stats

On SSH hosts, the chart button in the terminal toolbar (Show host stats / Hide host stats) shows or hides a bar with CPU, memory, disk, load and uptime. The stats work on Linux servers and are read over the connection that’s already open. The bar is shown by default, and your choice applies to every terminal on this device.

Still stuck? Check the FAQ, or browse thehelp centre.