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
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