Skip to content

Commit

Permalink
Bind CTRL-D to Cmd::EndOfFile on Windows
Browse files Browse the repository at this point in the history
Fix invalid cfg! macro argument.
  • Loading branch information
95jonpet committed Dec 30, 2021
1 parent 732e0cf commit 8a56494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keymap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ impl InputState {
} else {
Movement::BackwardChar(n)
})
} else if cfg!(window) || cfg!(test) || !wrt.line().is_empty() {
} else if cfg!(windows) || cfg!(test) || !wrt.line().is_empty() {
Cmd::EndOfFile
} else {
Cmd::Unknown
Expand Down

0 comments on commit 8a56494

Please sign in to comment.