aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/args.rs
diff options
context:
space:
mode:
authorBjorn Ove Hay Andersen2023-11-21 11:07:00 +0000
committerGitHub2023-11-21 11:07:00 +0000
commit47b6c4bc78d449e3586f28d26507bfc8fb8608e2 (patch)
tree3ad3f593efed0b27ed68cb20b95f8a34881552de /helix-term/src/args.rs
parent3052050ee0388207048318fed0909e63a2c865f9 (diff)
Resolve args.files before changing directory (#8676)
* Resolve args.files before changing directory * Removed the open_cwd work-around now that the path is full * If -w is specified, use that as the working directory * Open the remaining files in the argument list, also when the first is a directory * Use an iterator access the files argument
Diffstat (limited to 'helix-term/src/args.rs')
-rw-r--r--helix-term/src/args.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-term/src/args.rs b/helix-term/src/args.rs
index 99ce3992..6a49889b 100644
--- a/helix-term/src/args.rs
+++ b/helix-term/src/args.rs
@@ -17,7 +17,6 @@ pub struct Args {
pub log_file: Option<PathBuf>,
pub config_file: Option<PathBuf>,
pub files: Vec<(PathBuf, Position)>,
- pub open_cwd: bool,
pub working_directory: Option<PathBuf>,
}