srothgan
8f708cfdc7
feat: add screen/data cursor maps for wrapped movement ( #17 )
...
* feat!: remove tui-rs support and map screen cursors
* docs(examples): add fixed-size recording mode
* chore(release): bump to v0.11.0
2026-05-03 16:48:05 +10:00
srothgan
56f531a73f
chore: migrate to Rust 2024 edition and bump to v0.9.2 ( #12 )
...
* chore: migrate to Rust 2024 edition and bump to v0.9.2
- Bump edition to 2024 and rust-version to 1.85.0
- Replace f64::log10 with usize::ilog10 in num_digits
- Fix clippy lints surfaced by edition bump: repeat_n, derived Default, then_some
- Expand watch-check and watch-test aliases to cover all feature paths (crossterm_0_28, no-backend, tuirs variants, serde, arbitrary)
- Expand CI test and clippy workflows to full 6/8-entry feature matrices including termion on Ubuntu
- Apply rustfmt import reordering from edition 2024 rules
* fix: revert turis linux checks
2026-02-20 03:38:50 +10:00
srothgan
43afdc5ce1
chore/integrate-open-prs ( #5 )
...
* docs: integrate upstream PR #116
* feat: integrate upstream PR #113
* chore: add portable-atomic for viewport atomics (upstream PR #111 )
* fix(examples): integrate upstream PR #100
* fix(word): integrate upstream PR #98
* fix(widget): handle wide unicode char widths in horizontal scroll (upstream PR #94 )
* feat(highlight): integrate upstream PR #93
* chore(release): prepare v0.8.0 docs and CI-clean merged upstream updates
* docs(license): rename LICENSE.txt to LICENSE and fix header capitalization
2026-02-18 23:34:50 +10:00
rhysd
ad518def02
prefer eliding lifetimes
2024-12-01 15:12:50 +09:00
rhysd
9650a1171a
fix warnings and compile errors due to ratatui v0.28 update
2024-08-08 00:12:17 +09:00
rhysd
19c32cefc5
fix trying to render &&TextArea in editor examples
2024-08-02 16:43:27 +09:00
rhysd
c99108bf45
directly implement Widget for &TextArea ( fix #78 )
2024-08-02 16:31:21 +09:00
rhysd
a54ce36d22
refactor text selection and add more tests ( fix #6 )
2023-11-12 18:22:17 +09:00
pm100
5a2649abe9
implement select ( #45 )
...
* select, second go using new multiline code
* implemented internal delete_str, added tests
* delete_str_internal must not put non deleted strings into history. Ie ctrlc should not change history
* delete_str was taking lines out in the non delete case
* corrected comment
* fixes after feedback. Plus multichar bugs. change modal sample
2023-11-10 21:10:04 +09:00
rhysd
9ec2f32edf
fix disabling/enabling raw mode in editor example ( fix #44 )
2023-11-06 19:21:31 +09:00
rhysd
330b7074ae
fix examples to invert ratatui and tui-rs
2023-10-24 13:15:16 +09:00
rhysd
ea377db4ee
prefer Into::into to From::from
2022-07-09 12:38:05 +09:00
rhysd
fee107847e
use ↓/↑ instead of ^←/^→ to search next/previous in editor example
2022-07-08 17:40:59 +09:00
rhysd
358e9dbc52
search forward/back with ^N/^P in editor example
2022-07-08 12:43:07 +09:00
rhysd
5aa25ea24d
show 'match not found' error in search box title in editor example
2022-07-08 12:17:53 +09:00
rhysd
8320fcdbb8
add tests and document for text search
2022-07-08 12:17:53 +09:00
rhysd
86bd8dd6ef
report pattern error in title of search box in editor example
2022-07-08 10:22:54 +09:00
rhysd
7bc9a959f2
keep undo history on closing search box in editor example
2022-07-08 10:12:49 +09:00
rhysd
5b08d16214
implement text search in editor example
2022-07-08 10:05:53 +09:00
rhysd
9f54a6758e
rename set_hard_tab/hard_tab to set_hard_tab_indent/hard_tab_indent
2022-06-22 22:50:49 +09:00
rhysd
08bcc50e11
support hard tab indent by TextArea::set_hard_tab
2022-06-22 09:01:22 +09:00
rhysd
08caec05d6
render cursor position in editor example
2022-06-18 19:17:19 +09:00
rhysd
3e09d9a300
improve message in error example and remove unnecessary block in single input example
2022-06-17 10:54:11 +09:00
rhysd
2f38bc46a5
allow to change cursor style
2022-06-16 19:40:34 +09:00
rhysd
b7facac135
return if text was modified or not from methods to edit text
2022-06-15 20:16:47 +09:00
rhysd
6ebd099f28
add text editor example
2022-06-15 10:28:05 +09:00