1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 14:26:17 +03:00
Граф коммитов

374 Коммитов

Автор SHA1 Сообщение Дата
rhysd
b8491704bc improve description of feature gates in readme document 2024-08-12 22:29:08 +09:00
rhysd
d4342dceef update changelog for v0.6.1 changes 2024-08-09 01:04:23 +09:00
rhysd
a0b820cf7d bump up version to v0.6.1 2024-08-09 00:44:22 +09:00
rhysd
49c90f0983 fix tests for termion support when using old version of termion 2024-08-08 23:55:25 +09:00
rhysd
3fb0a78a4c use the same version of termion as tui's dependency for tuirs-termion feature 2024-08-08 23:04:13 +09:00
rhysd
8d2c201aff add tests for TextArea::selection_range 2024-08-08 22:40:15 +09:00
rhysd
de736a584f make the first element of range is smaller than the second one (#81) 2024-08-08 20:55:35 +09:00
Linda_pp
b7a7e3dc34 Merge pull request #81 from achristmascarl/expose-selection-start
Expose `selection_start`
2024-08-08 09:25:35 +09:00
achristmascarl
75f51111e1 switch to selection range 2024-08-07 16:34:13 -04:00
rhysd
93cfabdc69 update changelog for v0.6.0 changes 2024-08-08 00:34:30 +09:00
rhysd
7a8c020d4e bump up version to v0.6.0 2024-08-08 00:26:11 +09:00
rhysd
9b86d54a67 fix fuzzing test cases to follow ratatui v0.28 2024-08-08 00:25:28 +09:00
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
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
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