Skip to content
Edith

Docs

Command reference

ed app back

Returns the window to the previous route in its history.

Output
ed app back [--json]
Name Type / values Default What it does
--json flag off Emit JSON on stdout.

--json shape:

JSON
{  "route": "home",  "canGoBack": false,  "canGoForward": true}

Examples:

Output
ed app backed app back --json

This reads the history stack and changes the selection in place. It does not activate Edith or order a window forward. When there is nothing to go back to, the command exits 1. Edith must be running; without it the command exits 4.

Where to go next