1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-08-28 11:36:17 +03:00

14 Коммитов

Автор SHA1 Сообщение Дата
srothgan
ebd3af05e1 chore: refresh GitHub repository setup (#23)
* chore: refresh GitHub repository setup

* chore: align CI with Rust 1.88 MSRV
2026-07-01 04:47:43 +10:00
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
rhysd
9650a1171a fix warnings and compile errors due to ratatui v0.28 update 2024-08-08 00:12:17 +09:00
rhysd
9087e75c1f fix e behavior in operator-pending mode of vim example
`e`'s behavior is actually not same as `w`. For example, let's say we
have the following text and the cursor is on 'f'.

```
foo bar
```

Then `de` deletes the text 'foo' but `dw` deletes the text 'foo '
including the trailing space.
2024-08-03 23:08:58 +09:00
rhysd
c99108bf45 directly implement Widget for &TextArea (fix #78) 2024-08-02 16:31:21 +09:00
rhysd
60943f8b14 fix vim example's text selection should be inclusive in visual mode
Vim's text selection is inclusive. For example, when a cursor is on 'r'
of 'bar', 'r' is included in the selection. However tui-textarea's text
selection is exclusive on the end of the range. Move cursor forward to
emulate Vim's behavior better.
2024-08-02 00:12:08 +09:00
rhysd
76f1ab6b5a fix vim example's e mapping in operator-pending mode (fix #76) 2024-08-01 23:55:35 +09:00
achristmascarl
d016971a5f update tests, examples, readme 2024-07-30 15:09:03 -04:00
rhysd
306a976fc9 update block and style only when mode changed in vim example 2023-11-18 14:50:13 +09:00
rhysd
9f206200e5 refactor Vim emulation as state machine 2023-11-17 23:23:55 +09:00
rhysd
7c66f3ad5a make operator-pending mode variant of Mode 2023-11-17 21:22:36 +09:00
rhysd
ad8ad19e83 implement visual mode for vim example 2023-11-16 18:15:56 +09:00
rhysd
409185f653 rename modal example to vim
since operator-pending mode is Vim-specific
2023-11-16 15:59:06 +09:00