1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Buffer identifier — names a buffer for the MRU list, the sleeping
//! map, and `PromptOutcome::OpenBuffer`. Pure value type with no
//! behaviour; lives at the crate root so lower layers (`prompt`, `ui`)
//! can reference it without an upward import into `app`.
use PathBuf;
/// One entry in the buffer-picker MRU. `Scratch(id)` is an unnamed
/// empty buffer: `Scratch(0)` is the one vorto starts with, and every
/// `:new` mints a fresh id so multiple scratch buffers coexist. `File`
/// is a previously-opened path.