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
|
Index: drm/Cargo.toml
===================================================================
--- drm.orig/Cargo.toml
+++ drm/Cargo.toml
@@ -109,7 +109,7 @@ features = [
]
[dev-dependencies.rustyline]
-version = "13"
+version = "17"
[features]
use_bindgen = ["drm-ffi/use_bindgen"]
Index: drm/examples/kms_interactive.rs
===================================================================
--- drm.orig/examples/kms_interactive.rs
+++ drm/examples/kms_interactive.rs
@@ -58,7 +58,7 @@ fn run_repl(card: &Card) {
.edit_mode(rustyline::config::EditMode::Vi)
.auto_add_history(true)
.build();
- let mut kms_editor = rustyline::Editor::<(), _>::with_config(editor_config).unwrap();
+ let mut kms_editor = rustyline::Editor::<(), _>::with_config(editor_config.clone()).unwrap();
let mut atomic_editor = rustyline::Editor::<(), _>::with_config(editor_config).unwrap();
for line in kms_editor.iter("KMS>> ").map(|x| x.unwrap()) {
|