Commit Graph

684 Commits

Author SHA1 Message Date
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
rivo 0e6b21a48e
Merge pull request #755 from aurc/master
Update README.md - added loggo app on projects using tview
2022-08-12 10:58:34 +02:00
Oliver 6680aa9dbe Implemented line deletion (Ctrl-U). 2022-08-12 10:56:52 +02:00
Aurelio Calegari 36d987d406
Update README.md
Adjusted description
2022-08-12 08:26:30 +10:00
Aurelio Calegari b6c1ab9bc2
Update README.md
Added l'oggo app in the list of apps using tview in the README.md.
2022-08-12 08:24:47 +10:00
Oliver 20b8a06707 Not promoting a mouse-up event to a click event when it was prevented by a mouse capture. See #752 2022-08-11 22:34:03 +02:00
Oliver 8240d3d479 Added more editing functions. 2022-08-11 21:38:42 +02:00
Oliver 286f73a109 Added basic text entering. 2022-08-08 22:58:05 +02:00
Oliver 17194d2e94 Finished navigation with word jumping. 2022-08-07 14:37:50 +02:00
Oliver 7e09c7e6e3 Merge branch 'master' into textarea 2022-08-05 23:06:33 +02:00
Oliver 37ad0bb937 rivo/uniseg went through some turbulences. 2022-08-05 23:06:17 +02:00
Oliver dac4ab9843 Merge branch 'master' into textarea 2022-08-05 20:46:28 +02:00
Oliver b171f26c34 Another minor uniseg upgrade. 2022-08-05 20:46:13 +02:00
Oliver 58883bca7c Resolved merge conflict. 2022-08-05 20:36:31 +02:00
Oliver e5ac3d9d5c Minor uniseg upgrade. 2022-08-05 20:35:09 +02:00
Oliver e6d82ac482 Trying to wrap up basic navigation. 2022-08-05 20:32:17 +02:00
Oliver cd99ea8d03 Basic navigation. 2022-08-05 10:44:42 +02:00
Oliver 711ef394f9 Updated Go dependency to v1.18 due to rivo/uniseg. Fixes #750 2022-08-01 15:31:42 +02:00
rivo 9d32d26959
Merge pull request #749 from ashis0013/master
Add project "tuihub" to readme
2022-07-31 13:54:47 +02:00
Oliver c9d192d7e1 Showing cursor. 2022-07-30 23:13:34 +02:00
Oliver 4810fa9397 TextArea bugfixes. Also started definining the cursor. 2022-07-30 20:26:39 +01:00
Oliver ac1f564949 Implemented basic text area printing. 2022-07-30 15:59:31 +01:00
Ashis Paul dc607a67b0 Add project tuihub to readme 2022-07-30 11:50:54 +05:30
Oliver 6537221da8 Merge conflict resolved. 2022-07-29 16:43:17 +01:00