File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ winit = { version = "0.24.0" }
39
39
default = [ " opengl" ]
40
40
opengl = [ " glow" , " image" , " glutin" ]
41
41
curses = [ " pancurses" , " ctrlc" ]
42
+ cross_term = [ " crossterm" , " ctrlc" ]
42
43
amethyst_engine_vulkan = [ " amethyst/vulkan" , " image" ]
43
44
amethyst_engine_metal = [ " amethyst/metal" , " image" ]
44
- # TODO: Add crossterm optional ctrlc
45
45
46
46
[dev-dependencies ]
47
47
bracket-random = { path = " ../bracket-random" , version = " ~0.8.2" }
Original file line number Diff line number Diff line change @@ -73,4 +73,4 @@ You can run the `dwarfmap` example with different back-ends like this. The same
73
73
* * Amethyst (Vulkan)* : ` cargo run --example dwarfmap --no-default-features --features "amethyst_engine_vulkan" `
74
74
* * Amethyst (Metal)* : ` cargo run --example dwarfmap --no-default-features --features "amethyst_engine_metal" `
75
75
* * Curses* : ` cargo run --example dwarfmap --no-default-features --features "curses" `
76
- * * Crossterm* : ` cargo run --example dwarfmap --no-default-features --features "crossterm " `
76
+ * * Crossterm* : (note that the feature is called ` cross_term ` ) ` cargo run --example dwarfmap --no-default-features --features "cross_term " `
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ mod curses;
25
25
pub use curses:: * ;
26
26
27
27
#[ cfg( not( feature = "opengl" ) ) ]
28
- #[ cfg( all( not( feature = "opengl" ) , feature = "crossterm " ) ) ]
28
+ #[ cfg( all( not( feature = "opengl" ) , feature = "cross_term " ) ) ]
29
29
mod crossterm_be;
30
30
31
- #[ cfg( all( not( feature = "opengl" ) , feature = "crossterm " ) ) ]
31
+ #[ cfg( all( not( feature = "opengl" ) , feature = "cross_term " ) ) ]
32
32
pub use crossterm_be:: * ;
33
33
34
34
#[ cfg( all(
You can’t perform that action at this time.
0 commit comments