Commit Graph

7 Commits

Author SHA1 Message Date
joseLuís
55d49a43f6 rust: continue NcMenu PoC example; fixes
- modify ncmenu constructor Accept &mut[] instead of Vec<> to avoid FFI related problems. Furthermore, from rust 1.48 it's easy to convert a Vec into an array using the std::convert::TryInto trait.
- fix ncmenu method names.
- fix & refactor Notcurses contructors; add `with_debug` constructor.
- make NcPlane.set_base receive a char instead of a reference, since it's copy.
- add `rre` cargo alias for running examples on release.
2020-12-27 19:00:32 +01:00
joseLuís
9fe0363937 rust: improve testing
- add new alias `t_all` for running every test even if some fail.
- call it from `.drone.yml` to have more complete testing picture.
- add a new test for `notcurses_init` as the first test.
2020-11-18 01:48:54 +01:00
joseLuís
04882971a2 rust: more refactoring
- make Notcurses `new()` constructor not output banners.
- add an additional constructor `with_banners()`.
- add new aliases for running examples silently.
- improve comments & run rustfmt.
2020-11-09 19:59:39 +01:00
joseLuís
d17460b875 rust: del uneeded alias 2020-08-20 16:01:25 +02:00
joseLuís
a4d5817940 rust: cargo clippy alias 2020-08-18 13:09:39 +02:00
joseLuís
e22232774d rust: add direct-image example 2020-08-12 17:53:50 +02:00
nick black
adcabfae52
rust: assimilate #883 2020-08-12 10:46:59 -04:00