Alexandre Bury

Results 285 comments of Alexandre Bury

That time of the year again, this time for cursive-core 0.3 - [x] [cursive-multiplex](https://github.com/deinstapel/cursive-multiplex): https://github.com/deinstapel/cursive-multiplex/pull/10 - [x] [cursive-tabs](https://github.com/deinstapel/cursive-tabs): https://github.com/deinstapel/cursive-tabs/pull/17 - [x] ~[cursive_buffered_backend](https://github.com/agavrilov/cursive_buffered_backend)~ (already updated) - [x] [cursive-async-view](https://github.com/deinstapel/cursive-async-view): https://github.com/deinstapel/cursive-async-view/pull/10 - [x]...

Hi, and thanks for the question! As said [in the documentation](https://docs.rs/cursive/latest/cursive/view/trait.View.html#method.take_focus): > `source` indicates where the focus comes from. When the source is unclear (for example mouse events), `Direction::none()` can...

A few examples: * In a Dialog, if you press `Tab` vs `Shift-Tab`, it changes whether the view receives focus from the Front or from the Back. Depending on that,...

Note that for Qt and GTK (and other GUI frameworks), the situation is a bit different: most focus events come from the mouse or simply Tab/Shift-tab, and not the arrow...

Both are the same. Cursive re exports all of cursive-core. If you write a library, it may help to only depend on cursive-core. If you write an application, just use...

Fixed `Dialog`. For `StackView`, we currently don't re-send focus when a layer is pop'ed. (Essentially StackView pretends there's an independent focus per layer). We should most likely re-send a focus...

Ugh and here we have a potential issue: when updating a view group (like `StackView`) in a way that changes that view's selection, should the view send `take_focus` to the...

Thanks for the report! Currently there is not easy way to get that. `LinearLayout` has a `weight` parameter for each child which should enable this, but it's not implemented yet...

One way to achieve it is to basically re-implement a simplified version of `LinearLayout` which ignores the children's preferences and just give them a percentage of the available space. If...

Hi, and thanks for the report! Changing the title of the terminal is not currently supported (there are some plans for that, but nothing so far). It seems xterm supports...