mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 08:02:24 +00:00
docs(core): finish pointing the last session.json references at views.json
This commit is contained in:
@@ -951,7 +951,7 @@ pub fn default_config_dir() -> Option<PathBuf> {
|
||||
}
|
||||
|
||||
/// Resolve a file under the config directory (no `dirs` dep). Shared by every
|
||||
/// config-dir file (`config.json`, `session.json`, `history`).
|
||||
/// config-dir file (`config.json`, `views.json`, `history`).
|
||||
pub fn config_path(file: &str) -> Option<PathBuf> {
|
||||
Some(config_dir()?.join(file))
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@ impl RemoteTarget {
|
||||
///
|
||||
/// The host is lowercased here *and* in [`connection_key`](Self::connection_key)
|
||||
/// — here so two equal targets compare equal, there so a hand-edited
|
||||
/// `session.json` with `Box.Local` still derives the same id as `box.local`.
|
||||
/// `views.json` with `Box.Local` still derives the same id as `box.local`.
|
||||
pub fn direct(user: impl Into<String>, host: impl Into<String>, port: u16) -> RemoteTarget {
|
||||
RemoteTarget::Direct {
|
||||
user: user.into(),
|
||||
|
||||
+1
-1
@@ -423,7 +423,7 @@ fn main() {
|
||||
// Workspace" and the workspace picker need the identical path).
|
||||
//
|
||||
// Deliberately one window, not one per workspace that was open at
|
||||
// quit: see `Workspaces::workspace_to_restore` for why, and
|
||||
// quit: see `WindowViews::workspace_to_restore` for why, and
|
||||
// `WorkspaceStore::restore_one` for what happens to the others (they
|
||||
// are detached, not forgotten — panes keep running and the switcher
|
||||
// lists them). Quitting with every window closed — or a first run —
|
||||
|
||||
Reference in New Issue
Block a user