Commit Graph

1424 Commits

Author SHA1 Message Date
FliegendeWurst
924684215a Misc. hacks 2022-06-20 15:42:27 +02:00
FliegendeWurst
8ec46107e1 Only render visible content in TextView 2021-05-15 12:18:46 +02:00
Alexandre Bury
73453b2097 Add impl Borror<Cursive> for CursiveRunnable 2021-01-19 10:43:20 -08:00
Alexandre Bury
5becb0110a (cargo-release) version 0.16.2 2021-01-19 10:35:03 -08:00
Alexandre Bury
7d2094a6ba (cargo-release) version 0.2.2 2021-01-19 10:33:09 -08:00
Alexandre Bury
c0ddd5c302 Add method to turn a CursiveRunnable into a CursiveRunner 2021-01-19 10:32:54 -08:00
Alexandre Bury
58718824fa Cursive 0.16.1 2021-01-19 09:57:53 -08:00
Alexandre Bury
848ab341e9 (cargo-release) start next development iteration 0.2.2-alpha.0 2021-01-19 09:48:18 -08:00
Alexandre Bury
1a00cd8f8c (cargo-release) version 0.2.1 2021-01-19 09:47:59 -08:00
Alexandre Bury
9ef50a1827 Fix menubar color 2021-01-19 09:47:40 -08:00
Alexandre Bury
b4ed78d514 (cargo-release) start next development iteration 0.16.1-alpha.0 2021-01-18 11:34:50 -08:00
Alexandre Bury
cb8b1abe7f (cargo-release) start next development iteration 0.2.1-alpha.0 2021-01-18 11:34:50 -08:00
Alexandre Bury
cdaf70aea0 (cargo-release) version 0.16.0 2021-01-18 11:34:11 -08:00
Alexandre Bury
ba1448299b (cargo-release) version 0.2.0 2021-01-18 11:34:11 -08:00
Alexandre Bury
1c69461efa Use wasmer_enumset 2021-01-18 10:50:55 -08:00
Alexandre Bury
2b4ee4df4f Use ColorType::InheritParent in more places 2021-01-18 09:46:34 -08:00
Alexandre Bury
c3c3d4096f Add ColorStyle::{front, back} functions 2021-01-14 11:29:46 -08:00
Alexandre Bury
ae0556c77d Add ColorType::InheritParent 2021-01-14 11:29:46 -08:00
Alexandre Bury
bbca563e12 Fix NoSuchColor doc 2021-01-08 11:57:32 -08:00
Alexandre Bury
71a600cb9b Update dependencies 2021-01-08 11:56:22 -08:00
Alexandre Bury
c352e4c54a View::focus_view: replace () with zero-sized ViewNotFound 2020-12-20 10:58:57 -08:00
Alexandre Bury
759a7e8b49 Do not build ncurses on github actions 2020-12-20 10:37:11 -08:00
Alexandre Bury
feadd92bb5 Check and build other backends in github actions 2020-12-20 10:33:25 -08:00
Alexandre Bury
b26796d98b Migrate to travis-ci.com 2020-12-18 21:42:44 -08:00
Alexandre Bury
8e5c905213 Add Effect::Blink 2020-12-18 15:54:49 -08:00
Alexandre Bury
d464dc8ce0 Add Margins::zeroes 2020-12-18 14:08:09 -08:00
Alexandre Bury
418fda99ba Update rustfmt config
Now uses nightly rustfmt.
2020-12-18 14:07:47 -08:00
Alexandre Bury
368dca6033 Add TextView::set_style 2020-12-18 14:07:47 -08:00
Deven96
40efcc6727
Added mythra Project to showcases (#527) 2020-12-09 10:35:04 -08:00
Alexandre Bury
b2826f16dd Remove unused imports 2020-12-06 14:11:41 -08:00
Alexandre Bury
8003fc1773 Re-organize imports 2020-12-05 23:45:29 -08:00
Alexandre Bury
bac285000d Fix handling of newline at end of content. 2020-12-05 23:44:05 -08:00
Alexandre Bury
0a66978d7f Move event handling outside of scroll::Core 2020-12-05 23:05:47 -08:00
Alexandre Bury
31b8e1f515 Reformat & fix clippy 2020-12-01 12:23:29 -08:00
Alexandre Bury
1b10ea154d Scrolling: Rename available_size -> last_available_size 2020-12-01 12:23:29 -08:00
Tejun Heo
529aff0f23
Make SpannedString iterators double ended & exact sized (#524)
So that users can, for example, do .spans().len() to determine the number of
spans.
2020-11-26 13:38:27 -08:00
Alexandre Bury
b79ccf62da Manually derive Clone for RadioGroup<T>
To avoid the `T: Clone` bound.
2020-11-10 08:34:40 -08:00
Saul Chavez Sanchez
b3ada6be20
Really minor fix (#520)
* Really minor fix

Now it looks a little bit prettier
2020-10-28 19:56:43 -07:00
Alexandre Bury
fb23445e1d Add Cursive::screen_size based on last layout phase 2020-10-26 12:30:00 -07:00
Alexandre Bury
58bbae5ec8 Rename SpannedString::shrink_to_fit -> trim 2020-10-15 17:38:13 -07:00
Alexandre Bury
382557f713 Add mutable attribute access to SpannedStrings 2020-10-15 17:22:44 -07:00
Alexandre Bury
60fcbba54a Add public TextContent::with_content 2020-10-15 16:17:39 -07:00
Alexandre Bury
b03eafaabb Add methods to remove from a SpannedString and shrink it 2020-10-15 16:11:29 -07:00
Alexandre Bury
7f25dd71d3 Add Finder::call_on_all and Cursive::call_on_all_named 2020-10-15 13:58:24 -07:00
Alexandre Bury
47d8d23198 Fix clippy lints 2020-10-09 15:59:41 -07:00
Robin Krahl
994a3cf545
List rusty-man in readme (#518)
This patch adds rusty-man, a rustdoc documentation viewer for the
terminal, to the list of cursive applications in the readme.
2020-10-09 15:59:37 -07:00
Alexandre Bury
03cd0d41da Fix cursive_run doc 2020-10-09 15:44:48 -07:00
Alexandre Bury
801fa8e54b Deprecate ScrollBase 2020-10-09 15:44:35 -07:00
Tianyi Shi
c7c5f7955f
add new example: stopwatch (#503)
Co-authored-by: Mckol <mckol363@gmail.com>
2020-10-08 19:41:57 -07:00
Tianyi Shi
ac06b3ac3a
add sudoku-tui to showcase (#514) 2020-10-08 13:36:03 -07:00