rhysd
abc2b7d4e2
fix deprecated node version warning from codecov/codecov-action@v3
2024-08-08 00:14:57 +09:00
rhysd
9650a1171a
fix warnings and compile errors due to ratatui v0.28 update
2024-08-08 00:12:17 +09:00
rhysd
5d77bf8a9a
update ratatui dependency from 0.27 to 0.28
2024-08-07 23:55:24 +09:00
rhysd
150ee9d360
add more tests for search feature
2024-08-05 00:02:11 +09:00
rhysd
474b5f372a
add tests for search feature
2024-08-04 23:36:33 +09:00
rhysd
1a639ed931
update changelog for v0.5.3 changes
2024-08-03 23:55:53 +09:00
rhysd
e0c07375a8
bump up version to v0.5.3
2024-08-03 23:53:03 +09:00
rhysd
3a9d1430d4
caveat on conversion from termion's key event into Input ( #68 )
2024-08-03 23:48:30 +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
6f5ca389ff
support 'Ctrl + Home' and 'Ctrl + End' for termion backend
2024-08-03 08:47:03 +09:00
rhysd
3937eca234
refactor converting termion key event into Input
2024-08-03 08:44:04 +09:00
rhysd
0e32eed5dd
support shift/ctrl/alt + arrow keys combinations added at termion v4
...
fix #68
termion added the support at this commit:
3b52dc9bfb
2024-08-03 08:02:03 +09:00
rhysd
e5500dfa61
fix typos
2024-08-02 23:07:17 +09:00
rhysd
ef28d09ae8
Merge branch 'fix-lnum-horizontal-scroll' ( fix #77 )
2024-08-02 22:54:09 +09:00
rhysd
59ab95cc76
remove redundant clone() call with ratatui
2024-08-02 22:45:38 +09:00
rhysd
4e1adc66a9
smoothly slide the line number part into screen on scrolling left
2024-08-02 22:25:36 +09:00
rhysd
871577a20b
shift cursor position by line number width on horizontal scroll
2024-08-02 21:23:04 +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
Linda_pp
dea5b03335
Merge pull request #79 from fmorroni/single_line-example-fix
...
Add block border color to single_line example so it matches readme gif
2024-08-02 16:31:13 +09:00
Franco Morroni
842df5e1b6
chore: add block border color so example matches readme gif
2024-08-02 01:08:35 -03: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