achristmascarl
75f51111e1
switch to selection range
2024-08-07 16:34:13 -04:00
achristmascarl
31012c6a01
fix tests
2024-08-06 12:45:18 -04:00
achristmascarl
23dfde75bd
expose selection_start
2024-08-06 12:33:10 -04: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
rhysd
2ebce01d06
bump up version to v0.5.2
2024-08-01 10:54:15 +09:00
rhysd
d5c9959f28
fix image size ratio due to update of the file
2024-08-01 10:48:34 +09:00
rhysd
59ea9c2ec1
set codecov token to avoid rate limit
2024-08-01 10:35:12 +09:00
rhysd
d6e0b76268
add more tests for CursorMove::WordEnd
2024-08-01 02:01:39 +09:00
rhysd
506a065980
fix violating MSRV
2024-08-01 01:43:47 +09:00
rhysd
a3b6dd152d
fix WordEnd does not consider going across multiple empty lines
2024-08-01 01:39:44 +09:00
Linda_pp
d9571ca50e
Merge pull request #75 from achristmascarl/cursor-word-end
...
add `CursorMove` for next end of word
2024-07-31 22:51:12 +09:00
rhysd
e61c177cf9
update lock file for fuzzer to fix security issue in mio
2024-07-31 22:46:51 +09:00
rhysd
19eda54011
fix example code for serde support in readme
2024-07-31 22:43:51 +09:00
rhysd
00f0010393
show the cursor even if placeholder text is rendered by default
...
related to #73
2024-07-31 22:18:34 +09:00
Linda_pp
cc016f982c
Merge pull request #73 from kyu08/placeholder-cursor
...
add an option to show cursor and placeholder together
2024-07-31 21:54:41 +09:00
Linda_pp
533443c3f2
Merge pull request #70 from sugyan/patch-1
...
Update README.md
2024-07-31 18:07:09 +09:00
achristmascarl
eae80347d9
adjust if else structure
2024-07-30 16:11:36 -04:00
achristmascarl
757ea187af
ignore readme test
2024-07-30 15:44:46 -04:00
achristmascarl
18f2af88c9
fix behavior at end of line
2024-07-30 15:40:22 -04:00
achristmascarl
d016971a5f
update tests, examples, readme
2024-07-30 15:09:03 -04:00
achristmascarl
311b185ff2
new WordEnd enum member for CursorMove
2024-07-30 15:08:29 -04:00
achristmascarl
08d13206cd
add method for finding next word end
2024-07-30 15:07:51 -04:00
kyu08
a1ed9c68b3
add an option to show cursor and placeholder together
2024-07-26 21:38:44 +09:00
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