-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Windows builds #522
Fix Windows builds #522
Conversation
README.md
Outdated
@@ -1,5 +1,7 @@ | |||
# navi <img src="https://user-images.githubusercontent.com/3226564/65362934-b4432500-dbdf-11e9-8f75-815fbc5cbf8f.png" alt="icon" height="28px"/> [![Actions Status](https://github.com/denisidoro/navi/workflows/Tests/badge.svg)](https://github.com/denisidoro/navi/actions) ![GitHub release](https://img.shields.io/github/v/release/denisidoro/navi?include_prereleases) | |||
|
|||
TODO: windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
src/actor.rs
Outdated
@@ -65,6 +65,8 @@ fn prompt_finder( | |||
('\n'.to_string(), &None) | |||
}; | |||
|
|||
eprintln!("{}", fs::exe_string()?); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
src/actor.rs
Outdated
{{q}} | ||
NAVIEOF | ||
)" "{name}"; {extra}"#, | ||
r#"(@echo.{{+}}NAVIEOF{{q}}NAVIEOF{name}) | {exe} preview-var-win"#, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If windows... else...
src/actor.rs
Outdated
@@ -100,7 +96,7 @@ NAVIEOF | |||
|
|||
if opts.preview_window.is_none() { | |||
opts.preview_window = Some(if extra_preview.is_none() { | |||
format!("up:{}", variable_count + 3) | |||
format!("up:{}", variable_count + 10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3
src/config/cli.rs
Outdated
@@ -167,6 +167,9 @@ pub enum Command { | |||
/// Typed text | |||
variable: String, | |||
}, | |||
/// Used for fzf's preview window when selecting variable suggestions | |||
#[clap(setting = AppSettings::Hidden)] | |||
PreviewVarWin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PreviewVarStdin
No description provided.