Commit Graph

555 Commits

Author SHA1 Message Date
Alexandre Bury
06ce7b570f Fix clippy warnings 2017-01-19 11:12:12 -08:00
Alexandre Bury
efa45bb509 Bump version to 0.3.7 2017-01-15 10:28:03 -08:00
Alexandre Bury
97287a0b0b Remove unused imports 2017-01-10 17:48:47 -08:00
Alexandre Bury
14f971e2bc Allow negative relative offset in Position
Was causing crashes when popup-SelectViews were larger than their
parent.
Made some methods on Vec2 more generic to XY<T: ...>
2017-01-10 17:47:31 -08:00
Alexandre Bury
ddff15b6cf Merge pull request #96 from Ameobea/termion-clearing
Fixed issue with resetting background color for Termion backend
2017-01-10 17:45:39 -08:00
Alexandre Bury
bc500fb9e4 Merge pull request #95 from Ameobea/listview-callbacks
Added functions to register callbacks for ListView
2017-01-10 17:44:55 -08:00
Casey Primozic
7ca9821145 Fixed issue with resetting background color for Termion backend
- Background color was being set back to the theme's background color rather than the terminal's background color when the backend was `finish()`ed.  This resets the background color to the default instead.
2017-01-10 19:22:05 -06:00
Casey Primozic
9894dd9715 Added functions to register callbacks for ListView
- Added `on_selected()` and `set_on_selected()` funtions that are called when the focus is changed
 - Added `focused()` to return the index of the currently focused item.
2017-01-10 19:20:06 -06:00
Alexandre Bury
8c366389a7 Fix type cast in pancurses backend 2017-01-06 21:25:10 -08:00
Alexandre Bury
63109a9deb Update ncurses
Newest version removes the need for target-specific features.
2017-01-06 21:16:07 -08:00
Alexandre Bury
0e95c6b714 Bump version to 0.3.6 2017-01-05 10:36:47 -08:00
Alexandre Bury
135f6f3c9f Merge pull request #93 from mbrubeck/master
Upgrade to unicode-segmentation 1.0
2017-01-04 00:30:31 +01:00
Matt Brubeck
6e44b8fa9b Upgrade to unicode-segmentation 1.0 2017-01-03 15:17:02 -08:00
Alexandre Bury
cf80749b8d Don't use ncurses's wide attribute on macos 2016-12-21 22:30:08 +01:00
Alexandre Bury
2bacfcb11e Add manual-loop methods
is_running() and step()
2016-12-15 20:39:50 +01:00
Alexandre Bury
858067ef6b Detect terminal resize in termion backend
Using the chan_signal crate
2016-12-13 22:10:00 -08:00
Alexandre Bury
ea3dde33ec Use async input for termion backend
This enables async refresh, fixing the `logs` and `progress` examples.
2016-12-13 20:54:18 -08:00
Alexandre Bury
89ec140f41 Update doc comments 2016-12-12 10:20:19 -08:00
Alexandre Bury
0ab2c6db07 Update pancurses backend 2016-11-24 23:42:31 -08:00
Alexandre Bury
508c9833e3 Add Esc support to termion backend 2016-11-04 16:24:52 -07:00
Alexandre Bury
ce009d0e5f Back to upstream termion
Just figured I could implement Color for a custom wrapper struct.
2016-11-04 10:30:06 -07:00
Alexandre Bury
949b1e9632 Add tab support to pancurses 2016-10-28 17:13:53 -07:00
Alexandre Bury
60bddf7e8d Better input support in termion backend
Still many key combinations unsupported.
2016-10-24 11:16:56 -07:00
Alexandre Bury
965b32bd9b Bring colors to termion backend
Currently require termion fork for color storage support.
2016-10-21 17:18:26 -07:00
Alexandre Bury
d678d767f0 Bump version to 0.3.5 2016-10-17 11:39:27 -07:00
Alexandre Bury
6a5dd2f38b Merge pull request #83 from nabijaczleweli/master
Correctly handle backspace in pancurses backend on Windows
2016-10-15 08:49:31 -07:00
nabijaczleweli
13d84970d3
Correctly handle backspace in pancurses backend on Windows
Closes #81
2016-10-15 17:48:31 +02:00
Alexandre Bury
e4b8e8b3a5 Merge pull request #82 from cmbrandenburg/spell_fix
Documentation spell fix
2016-10-15 08:34:59 -07:00
Craig M. Brandenburg
df0d93ae74 Documentation spell fix 2016-10-15 06:24:24 -07:00
Alexandre Bury
bfb422067a Doc fixes 2016-10-14 18:18:19 -07:00
Alexandre Bury
1f71b91632 Bump version to 0.3.4 2016-10-14 12:36:35 -07:00
Alexandre Bury
ef76a75632 Fix skeptic feature 2016-10-14 12:36:12 -07:00
Alexandre Bury
1987922ddb Bump version to 0.3.3 2016-10-14 12:24:59 -07:00
Alexandre Bury
fde1091051 Fix focus in ListView 2016-10-13 11:57:24 -07:00
Alexandre Bury
7c2d4a86f6 Revert dependencies order 2016-10-12 18:33:55 -07:00
Alexandre Bury
a06ad90945 Make skeptic an optional build dependency 2016-10-12 16:12:07 -07:00
Alexandre Bury
e81a569e31 Add From<((left,right), (top, bottom))> to Vec4 2016-10-12 15:37:55 -07:00
Alexandre Bury
14c6d4fb82 Update readme: add link to backends wiki page 2016-10-12 14:58:09 -07:00
Alexandre Bury
69d264348f Bump version to 0.3.2. 2016-10-12 14:15:16 -07:00
Alexandre Bury
7e382593a8 Remember current color style in pancurses backend 2016-10-12 14:14:32 -07:00
Alexandre Bury
ad4da8acc1 Update pancurses to 0.6.0 2016-10-12 11:53:59 -07:00
Alexandre Bury
80fa9a4180 Merge pull request #79 from nabijaczleweli/master
Fix warnings in back-ends
2016-10-12 11:36:27 -07:00
nabijaczleweli
e33474dd74
Fix back-end warnings 2016-10-12 20:06:04 +02:00
Alexandre Bury
2dc75c2ec0 Make window resizeable in BLT backend 2016-10-12 09:35:03 -07:00
Alexandre Bury
65d86f3638 Add Event::Exit
Currently only sent by the bear lib terminal.
2016-10-11 17:48:37 -07:00
Alexandre Bury
4aaee06d9e Fix screen clear on layer removal
Fixes #78.
2016-10-11 17:29:13 -07:00
Alexandre Bury
b43b6c4700 Merge pull request #77 from nabijaczleweli/master
Add BearLibTerminal backend
2016-10-11 16:59:29 -07:00
nabijaczleweli
c4baa0f570
Add BearLibTerminal backend 2016-10-12 01:48:22 +02:00
Alexandre Bury
821d9f1783 Parse utf8 chars in pancurses backend
Closes #76
2016-10-11 16:08:44 -07:00
Alexandre Bury
072c1d9b5c Fix some input in pancurses backend 2016-10-11 12:31:31 -07:00