Alexandre Bury

Results 287 comments of Alexandre Bury

Note that `set_on_submit` can accept closures, which lets you embed parameters: ```rust fn Enter_Fn(app: &mut cursive::Cursive, row: usize, index: usize, table_id: usize) { } for i in 0..10 { //create...

Do you mean which one has focus? You can use [`LinearLayout::get_focus_index()`](https://docs.rs/cursive/latest/cursive/views/struct.LinearLayout.html#method.get_focus_index) to know which child is focused.

There is a [`row()`](https://docs.rs/cursive_table_view/latest/cursive_table_view/struct.TableView.html#method.row) method, is that what you need?

This is most likely a version mismatch between the version of cursive you use, and the one used in this library. The hint "ViewWrapper` is not implemented" is a bit...

I have not worked around it so far. This PR currently fails on Windows - I forgot if it ever worked (and something changed), or if I just missed it...

The test failure for windows are: * Some random SSL error for "Environment: channel=beta, target=i686-pc-windows-msvc" * Some pre-existing failures for the windows-gnu toolchain

I either call stdscr, or methods that implicitly use stdscr internally. We could have the `newterm` method return a window, either as sole or second return value.

Sounds good. Newterm is supposed to replace initscr, so returning a window as well makes sense.

We're back to upstream buffered backend, and are now on cursive 0.17 :tada: