Alexandre Bury
|
e0b279d9df
|
Fix clippy warnings
|
2017-03-05 15:18:15 -08:00 |
|
Alexandre Bury
|
7d9cb03ffb
|
More checks against small viewports
Prevents panics when the terminal is resized.
|
2017-03-05 11:35:20 -08:00 |
|
Robin Stumm
|
99fa86bec9
|
return length and width from utils::prefix() (renamed from utils::prefix_length()) as per df835d1
|
2017-02-01 20:47:33 +01:00 |
|
Alexandre Bury
|
821d9f1783
|
Parse utf8 chars in pancurses backend
Closes #76
|
2016-10-11 16:08:44 -07:00 |
|
nabijaczleweli
|
c81579a20a
|
Disable failing doctests
|
2016-10-11 19:11:40 +02:00 |
|
Alexandre Bury
|
bb62452149
|
EditView: Prevent overflow error with no available space
|
2016-10-04 17:51:18 -07:00 |
|
Alexandre Bury
|
3b3f403f7a
|
Apply rustfmt
|
2016-10-02 15:22:29 -07:00 |
|
Alexandre Bury
|
8fa704bcfa
|
Rename Dialog::new -> Dialog::around
And `Dialog::empty` -> `Dialog::new`
|
2016-10-02 15:15:30 -07:00 |
|
Alexandre Bury
|
d684a5bc1e
|
Remove prelude module
Add `traits` module instead
|
2016-09-28 22:45:27 -07:00 |
|
Alexandre Bury
|
24511ae5f1
|
Accept Into<String> in EditView::set_content
|
2016-09-01 11:49:47 -07:00 |
|
Alexandre Bury
|
d51772f714
|
EditView: move cursor on content change
To the end of the content.
|
2016-09-01 11:42:16 -07:00 |
|
Alexandre Bury
|
0364f577b2
|
Add EditView::set_cursor
And fix a crash with `set_content` (it wasn't updating the cursor).
|
2016-09-01 11:10:12 -07:00 |
|
Alexandre Bury
|
ce6992a8c5
|
Add SliderView
|
2016-08-13 01:03:40 -07:00 |
|
Alexandre Bury
|
1052c0b74c
|
Remove EditView::min_length
Uses `.fixed_width()` from `Boxable` or something like that.
|
2016-08-03 21:58:00 -07:00 |
|
Alexandre Bury
|
75c365451f
|
Add initial TextArea
|
2016-08-02 00:32:16 -07:00 |
|
Alexandre Bury
|
ede5c616f6
|
Update EditView doc
With updated `examples/edit.rs` content
|
2016-07-31 17:53:00 -07:00 |
|
Alexandre Bury
|
3410150ed5
|
Fix clippy warning
Use `for` loop instead of discarding `collect` result.
|
2016-07-31 11:29:55 -07:00 |
|
Alexandre Bury
|
be7f2184e9
|
Unify prefix_length and suffix_length signatures
|
2016-07-30 15:56:39 -07:00 |
|
Alexandre Bury
|
d12622b56a
|
Fix examples and tests
|
2016-07-30 13:30:56 -07:00 |
|
Alexandre Bury
|
40f9a91a7a
|
Replace some &str -> S: Into<String>
Add back the "Ok" button to `examples/edit.rs`
|
2016-07-30 12:58:25 -07:00 |
|
Alexandre Bury
|
ca6e16311f
|
Add secret mode to EditView
Only prints `*`. Prints `**` with wide chars.
|
2016-07-30 12:26:41 -07:00 |
|
Alexandre Bury
|
3726df46b7
|
Add on_submit to EditView
It simplifies the Edit example
|
2016-07-30 02:34:47 -07:00 |
|
Alexandre Bury
|
2e05a0825a
|
Add on_edit callback to EditView
Also fix <Del>/<Backspace> handling with precomposed characters
|
2016-07-30 01:18:12 -07:00 |
|
Alexandre Bury
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|