Commit Graph

607 Commits

Author SHA1 Message Date
Oliver c5b1a7d818 Finished Image implementation. 2022-12-26 21:55:31 +01:00
Oliver 10a525d206 Changed dithering to 2x2 blocks. 2022-12-26 19:55:37 +01:00
Oliver cb9e0f7487 Implemented Floyd-Steinberg dithering on 8x8 matrix. 2022-12-26 19:18:11 +01:00
Oliver 8b56f225c5 First results for the new Image widget. 2022-12-25 23:21:11 +01:00
Oliver cdf60bc79f Started implementation of Image widget. 2022-12-25 11:54:49 +01:00
Oliver 9c04916f4e Enabling mouse on Autocomplete demos. 2022-12-21 18:28:51 +01:00
Oliver 02e38ea960 Upgraded to latest tcell version. 2022-12-21 18:28:20 +01:00
Oliver ccce554c38 Using tcell.Style for buttons, allowing us to control it better. Resolves #704 2022-12-17 19:20:43 +01:00
Oliver 5bc948d2ca Missed a call to process(). 2022-12-17 15:00:28 +01:00
Oliver bb3fea967d Merge branch 'master' of github.com:rivo/tview 2022-12-17 14:41:36 +01:00
Oliver 968b7463f7 Added a Move() function to the TreeView. Resolves #432 2022-12-17 14:39:28 +01:00
rivo 4802e03c38
Merge pull request #779 from peltho/readme_update
Update project list with tufw
2022-12-14 15:27:45 +01:00
Thomas Pellegatta 4392897958 Update project list with tufw 2022-12-14 08:40:49 +01:00
Oliver 19d943d595 Some clarifications. 2022-12-12 16:08:47 +01:00
Oliver 55d1ca9d33 Added own implementation of SetBackgroundColor() to TextView, to keep backwards compatibility. Fixes #777 2022-12-11 17:09:34 +01:00
Oliver e6cd7110ac Spelling and wording. 2022-12-11 00:56:52 +01:00
Oliver 3f246bda86 Text views can also become part of forms. 2022-12-11 00:46:02 +01:00
Oliver db36428c92 Updated README screencast. Also fixed Table rendering issue. 2022-11-28 17:58:37 +01:00
Oliver 1480dc5b05 Fixed mouse focus issue in List. Fixes #773 2022-11-28 09:29:18 +01:00
Oliver f5cddba6f0 Fixed out of bounds error in List. Fixes #480 2022-11-27 22:21:15 +01:00
Oliver 09f052e6ca Fixed finding of previous/next selectable cell in Table. Fixes #768 2022-11-17 07:52:07 +01:00
Oliver ed3ea789e9 Text area can now be added to forms. See #594 2022-11-15 15:33:49 +01:00
Oliver 0b2ae10823 Removed dump() function which was used for debugging only. 2022-11-14 16:11:12 +01:00
Oliver 04a46906d2 lastColumn of a table must also be adjusted when columns are deleted. Fixes #736 2022-11-13 19:07:20 +01:00
rivo 12a29444c8
Merge pull request #727 from dimonomid/dropdown-hor-alignment-fix
Fix the DropDown list when too close to the right screen edge
2022-11-13 18:35:39 +01:00
rivo c59dc10ace
Merge pull request #757 from tjhowse/Fix_Screen_init
Initialise Screen if SetScreen called before Run
2022-11-13 17:08:30 +01:00
rivo c4a7e50181
Merge pull request #766 from goyalmunish/readme_reminder
Update Readme with reminder tool
2022-10-29 12:09:20 +02:00
Munish Goyal e120e6a2f9 Update Readme with reminder tool 2022-10-29 14:01:18 +11:00
Oliver 2e69b7385a Fixed mouse handling bug for drop-downs. Removed 404s from readme. Fixed #761 2022-09-16 10:15:18 +02:00
Oliver 55965cf21d Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display. 2022-09-11 21:02:40 +02:00
Oliver 4664d8bf22 Only moving the cursor up or down in the text area will preserve the desired column position. 2022-09-06 21:45:28 +02:00
rivo 941f8605ec
Merge pull request #753 from sruehl/fix/textview_color_panic
fix: fixed GetRegionText when colors are active, fixes #751
2022-09-06 17:11:08 +02:00
Sebastian Rühl ac98385e86 fix: fixed GetRegionText when colors are active
When skipping color tags the currentTag is getting incremented and directly after that a index access with that happens. This always crashes on the last tag.
2022-09-05 14:37:09 +02:00
Oliver 532bb46474 Minor clarifications. 2022-09-03 14:53:48 +02:00
rivo 3d42e9b328
Merge pull request #759 from rivo/textarea
Publishing the new `TextArea` primitive
2022-09-03 11:54:23 +02:00
Oliver 1ae26e1ab6 Added Alt-Backspace to text area. Also added a text area demo. 2022-09-03 11:17:30 +02:00
Oliver cecb44578c Setting focus is now based on a "mouse down" event instead of a "click" event. 2022-09-02 17:49:12 +02:00
Oliver 384c772b0b Extended the text area's API to include some useful functions. 2022-08-28 12:54:24 +02:00
Oliver 9e30817840 More key options for more terminals. 2022-08-27 16:52:08 +02:00
Oliver 356302bdf2 Clarification on terminal configurations and key binds. 2022-08-27 11:28:26 +02:00
Oliver 0ded991cb4 Fixes. Ready for testing. 2022-08-27 11:27:13 +02:00
Oliver f2c8ab440f Added mouse handling as well as lots of improvements and bugfixes. 2022-08-25 22:09:52 +02:00
Oliver 99cf18bf98 Implemented undo/redo. 2022-08-21 13:45:58 +02:00
Oliver eb795cd8e5 Reimplemented TextArea.replace() function, considering undo handling now. 2022-08-19 20:30:40 +02:00
Travis Howse 583acbe93c Remove noise 2022-08-14 23:19:25 +10:00
Travis Howse 1a01dc6ba1 Actual fix. 2022-08-14 23:16:21 +10:00
Travis Howse f541eaf9cd Initialise the copy of screen in the Application struct. 2022-08-14 23:02:19 +10:00
Oliver 980ae61d2a Added tabs. Also added TextArea to main documentation. 2022-08-13 17:03:57 +02:00
Oliver ad62b2aa7c Implemented the clipboard. 2022-08-13 16:55:36 +02:00
Oliver 8b7b755a7f Implemented selections. 2022-08-13 15:19:11 +02:00