Alexandre Bury
|
66af7fab7c
|
IdView: skip view if borrowing fails.
Fixes #144
|
2017-07-03 01:29:30 -07:00 |
|
Alexandre Bury
|
19f87076f9
|
Use 256 color pairs in pancurses
|
2017-06-14 00:59:17 -07:00 |
|
Alexandre Bury
|
e4464cb44d
|
Merge remote-tracking branch 'origin/master' into custom_color
|
2017-06-14 00:44:04 -07:00 |
|
Alexandre Bury
|
9089d9fd88
|
Cleaner colors example
|
2017-06-14 00:43:03 -07:00 |
|
Alexandre Bury
|
7a7ccbf45c
|
Add colors example
|
2017-06-14 00:08:58 -07:00 |
|
Alexandre Bury
|
88d3d81e88
|
Use pancurses::chtype directly
|
2017-06-13 23:49:55 -07:00 |
|
Alexandre Bury
|
2cdf546455
|
Fix pancurses backend
|
2017-06-13 23:30:55 -07:00 |
|
Alexandre Bury
|
98be066b4d
|
Don't re-apply current color
|
2017-06-12 23:51:41 -07:00 |
|
Alexandre Bury
|
dea07d29cf
|
Give the background color to the clear method.
|
2017-06-12 23:29:26 -07:00 |
|
Alexandre Bury
|
059812f427
|
Update termion backend
|
2017-06-12 18:31:08 -07:00 |
|
Alexandre Bury
|
9f5ce65e34
|
Fix doc comment
|
2017-06-12 18:03:52 -07:00 |
|
Alexandre Bury
|
93b5421f53
|
Rename KeyEventView to OnEventView
|
2017-06-12 16:39:20 -07:00 |
|
Alexandre Bury
|
6fa062775b
|
Add non-chainable methods to MenuPopup
|
2017-06-12 16:39:20 -07:00 |
|
Alexandre Bury
|
5c42a59954
|
Refactor colors management
Do not register pairs with backend. Let backend cache color pairs if
needed.
|
2017-06-12 11:59:33 -07:00 |
|
Alexandre Bury
|
9e1a83f7cc
|
Set up Custom color in termion and ncurses backends
|
2017-06-11 15:01:35 -07:00 |
|
Alexandre Bury
|
900bdfea58
|
Reset running = true in Cursive::run
This allows to start another loop after quitting the first time.
|
2017-06-08 15:02:00 -07:00 |
|
Alexandre Bury
|
ffe5b57749
|
Add ListView::is_empty
|
2017-06-08 09:41:53 -07:00 |
|
Alexandre Bury
|
bdc49a558f
|
Remove unused warning for println_stderr macro.
|
2017-06-05 20:41:01 -07:00 |
|
Alexandre Bury
|
cbe37172b5
|
pancurses: set ESCDELAY after initializing screen
|
2017-05-23 15:25:52 -07:00 |
|
Alexandre Bury
|
db0398ec81
|
ncurses: specify ESCDELAY after setting locale
Otherwise the locale change is ignored on some systems
|
2017-05-23 15:22:18 -07:00 |
|
Alexandre Bury
|
d031d3784a
|
Add methods to access ListView's children
|
2017-05-21 09:50:16 -07:00 |
|
Alexandre Bury
|
f608073bf5
|
Add Button::set_callback
|
2017-05-19 11:12:45 -07:00 |
|
Alexandre Bury
|
b799d83077
|
Add ColorStyle::Custom for theme-independent coloring
Moved `color_id` to curses backend.
|
2017-05-15 19:29:31 -07:00 |
|
quininer kel
|
f34e1d9a02
|
Fix VecExt::splice conflict with Vec::splice
|
2017-04-26 18:36:23 +08:00 |
|
quininer kel
|
440578c7d1
|
Add termion AlternateScreen support
|
2017-04-26 14:20:52 +08:00 |
|
Alexandre Bury
|
d4f1439abd
|
Fix clippy warnings
|
2017-04-23 15:16:39 -07:00 |
|
Alexandre Bury
|
2fd30e3e10
|
TextArea: fix off-by-one required_size
|
2017-04-21 21:51:30 -07:00 |
|
Markus Unterwaditzer
|
3ec0eb3ff4
|
docs
|
2017-04-22 00:03:13 +02:00 |
|
Markus Unterwaditzer
|
065789c286
|
Grow horizontally as well
|
2017-04-21 23:58:19 +02:00 |
|
Markus Unterwaditzer
|
14cfe3604a
|
Automatically grow textarea
|
2017-04-21 23:03:10 +02:00 |
|
Alexandre Bury
|
5edc6fc163
|
Add chainable EditView::filler methods
And a few other filler fixes
|
2017-04-03 11:13:16 -07:00 |
|
Afonso Bordado
|
b2bcf4138a
|
EditView: Add a customizable filler character (#127)
* Add a customizable filler character
* Change filler character to string
|
2017-04-03 11:03:56 -07:00 |
|
Alexandre Bury
|
2643ecbb15
|
Add chainable methods for StackView
|
2017-04-03 10:41:34 -07:00 |
|
Alexandre Bury
|
bdbf6d759e
|
Add EditView::set_style
|
2017-04-02 15:38:25 -07:00 |
|
Alexandre Bury
|
d3669814b5
|
Fix warnings
* Allow dead code for curses-only utf8 module
* Remove intermediate variable in IdView
|
2017-03-27 13:27:50 -07:00 |
|
Alexandre Bury
|
7c95114955
|
Add SelectView::set_selection
|
2017-03-27 13:14:03 -07:00 |
|
Alexandre Bury
|
09202f55c8
|
Reset focus in SelectView::clear
|
2017-03-27 13:07:22 -07:00 |
|
Alexandre Bury
|
c300e0628d
|
Rename find -> call_on
And update tutorials
|
2017-03-26 20:50:50 -07:00 |
|
Alexandre Bury
|
c3c69e7892
|
Merge IdView and RefCellView
And remove `with_id_mut`
|
2017-03-25 21:56:31 -07:00 |
|
Alexandre Bury
|
146ebd8931
|
Rename find_id -> call_on_id, find_id_mut -> find_id
|
2017-03-25 18:22:14 -07:00 |
|
Alexandre Bury
|
cdb3df7fc8
|
Merge branch 'master' into refview
|
2017-03-25 15:01:57 -07:00 |
|
Alexandre Bury
|
017bb21710
|
Add View::focus_view
|
2017-03-25 14:50:52 -07:00 |
|
Alexandre Bury
|
2cd2787119
|
Event::Unknown now carries the unknown bytes rather than a i32
And termion has been updated to use termion::Event::Unsupported
|
2017-03-25 11:01:25 -07:00 |
|
Alexandre Bury
|
77433e80ee
|
fix: add Panel::wrap_layout
Fixes #119
|
2017-03-15 16:35:20 -07:00 |
|
Alexandre Bury
|
0bbc10706e
|
EditVIew: Add mutable and non-mutable callback methods
mutable callbacks disable recursive calls
|
2017-03-08 16:29:24 -08:00 |
|
Alexandre Bury
|
cbe237624f
|
Update toml to 0.3
|
2017-03-06 22:49:56 -08:00 |
|
Alexandre Bury
|
4f82e87d0d
|
Merge pull request #115 from hacksaar/master
use Iterator::sum() for summing instead of fold
|
2017-03-06 14:58:17 -08:00 |
|
Alexandre Bury
|
87676295a0
|
fix: Check for insufficient space in Panel::required_size
|
2017-03-06 14:53:10 -08:00 |
|
Constantin Berhard
|
36d5aa016a
|
use Iterator::sum() for summing instead of fold
|
2017-03-06 22:46:16 +01:00 |
|
Alexandre Bury
|
5f5fb4e502
|
Add comments
|
2017-03-06 10:38:18 -08:00 |
|