Skip to main content

Module shell

Module shell 

Source
Expand description

The window around a document: opening one, saving it, saying what went wrong, and the menu and keys that are the same in all three applications.

The shell owns every read from and write to the disk. A view is handed bytes and hands bytes back, so the one place that knows a path is here, and so is the one place that asks before throwing changes away.

Structs§

Product
What an application tells the shell about itself.
Shell
The window: chrome, keys, errors, and one view inside it.

Traits§

View
What the shell needs from the view that draws a particular format.

Functions§

run
Open a window for a product, with the paths given on the command line.