Yoshihiro Sugi
c54e8d458d
Update README.md
2024-07-14 22:14:31 +09:00
rhysd
774f68c1b7
update changelog for v0.5.1 changes
2024-07-12 23:52:33 +09:00
rhysd
f6f6642969
bump up version to v0.5.1
2024-07-12 23:47:26 +09:00
rhysd
1cb967f0eb
describe serde support in readme document
2024-07-12 23:43:16 +09:00
rhysd
673bdcb84b
add tests for serde support
2024-07-12 23:36:45 +09:00
Linda_pp
fcd44bb7d9
Merge pull request #62 from cestef/main
...
Add serde feature to Scrolling, CursorMove and Input enums
2024-07-12 23:11:34 +09:00
cstef
dff2694010
Add clippy check for serde feature in CI
2024-07-08 18:16:00 +02:00
cstef
afb9e691b8
Add derive feature to serde
2024-07-08 18:13:12 +02:00
rhysd
b2f805bbe5
update changelog for v0.5.0 changes
2024-07-07 23:52:09 +09:00
rhysd
4b6b0b9fdb
bump up version to v0.5.0
2024-07-07 23:42:00 +09:00
rhysd
552e36d963
fix clippy warnings in examples
2024-07-07 23:32:53 +09:00
rhysd
8c6bcb9a7c
implement Display for YankText instead of ToString directly
2024-07-07 23:26:26 +09:00
Linda_pp
456480ccf1
Merge pull request #69 from joshka/jm/ratatui-0.27.0
...
Bump Ratatui to 0.27.0
2024-07-07 23:21:49 +09:00
Linda_pp
ebbdc257a7
Merge pull request #64 from kyu08/fix-typo
...
fix typo
2024-07-07 23:20:03 +09:00
Josh McKinney
63a26044c8
Bump Ratatui to 0.27.0
...
- Updates termion and termwiz
- Fixes issue where tui-textarea picks up the wrong versions of packages
https://github.com/rhysd/tui-textarea/pull/61\#discussion_r1597672569
- Replaces #61
2024-06-27 15:57:56 -07:00
kyu08
68ca07b77c
fix typo
2024-03-15 20:46:06 +09:00
cstef
f354c48c11
Add Eq derive for Input
2024-02-27 18:33:13 +01:00
cstef
38df8592fb
Make Input serializable
2024-02-27 18:33:13 +01:00
cstef
4cc1ecaed9
Make Scrolling serializable
2024-02-27 18:33:13 +01:00
cstef
1625d0b603
Add serde feature
2024-02-27 18:33:13 +01:00
rhysd
39075bb641
run cargo doc check on CI
2023-11-29 22:01:33 +09:00
rhysd
8b092dcdcf
update changelog for v0.4.0 changes
2023-11-19 23:44:18 +09:00
rhysd
501e2b543d
bump up version to v0.4.0
2023-11-19 23:30:51 +09:00
rhysd
a9d981f2d8
run doc test for impl FromIterator for TextArea
2023-11-19 22:18:21 +09:00
rhysd
9e3df38b54
fix inser_str doesn't handle \r\n and ignores newline at end of input
2023-11-19 22:08:25 +09:00
rhysd
1194331a02
fix TextArea::set_yank_text doesn't support CRLF (\r\n) for newline
2023-11-18 18:28:32 +09:00
rhysd
306a976fc9
update block and style only when mode changed in vim example
2023-11-18 14:50:13 +09:00
rhysd
0a5c190780
Merge branch 'vim'
2023-11-17 23:56:29 +09:00
rhysd
fc08babaaf
add screencast of vim example
2023-11-17 23:54:23 +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
rhysd
b2cee69cdd
implement operator pending mode and gg in modal example
2023-11-16 15:46:48 +09:00
rhysd
13ce6aa6d5
fix selected text is not deleted on paste
2023-11-15 01:57:48 +09:00
rhysd
8e3a432ecc
add Key::Copy, Key::Cut, Key::Paste support
2023-11-15 01:29:44 +09:00
rhysd
523a888f26
implement TextArea::select_all
...
but it is not assigned to default key shortcuts because C-a is already
in use.
2023-11-15 00:11:18 +09:00
rhysd
9d03463237
test positions after undo/redo
2023-11-13 20:32:15 +09:00
rhysd
bae9d4cee3
refactor undo/redo implementation
2023-11-13 19:29:43 +09:00
rhysd
cb868a19b6
add sanity test for all combination of key inputs
2023-11-13 00:19:17 +09:00
rhysd
18610dc58c
measure and monitor coverage with codecov
2023-11-12 23:27:55 +09:00
rhysd
f0370e850c
add more tests for deleting text
2023-11-12 23:06:25 +09:00
rhysd
f28f417e06
fix insert_char and set_yank_text does not consider newline
2023-11-12 23:06:02 +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
2740b89a51
update changelog for v0.3.1 changes
2023-11-05 01:09:31 +09:00
rhysd
efdfc13445
simplify unit tests for DisplayTextBuilder
2023-11-04 19:48:28 +09:00
rhysd
2e6697e54a
perfer for to while
2023-11-04 19:36:33 +09:00
rhysd
4d16fcb8fa
Merge branch 'issue-43' ( fix #43 )
2023-11-04 19:31:07 +09:00