1
0
mirror of https://github.com/rivo/tview.git synced 2025-05-11 19:29:50 +08:00

763 Commits

Author SHA1 Message Date
Sam Whited
0be52430c6
Add SelectItem to list view
This allows the user to programatically call an items select function as
if the Enter key had been pressed without requiring the use of fake key
signals that act as a sort of "shadow" API on top of the actual Go API.

Fixes #1023

Signed-off-by: Sam Whited <sam@samwhited.com>
2024-09-13 07:46:15 -04:00
Oliver
fd649dbf12 Added a note about standard streams while an application is running. Resolves #1017 2024-08-18 13:03:01 +02:00
Oliver
e4c497cc59 Using styles instead of colours for drop-down lists. Fixes #993, fixes #990 2024-08-07 22:51:29 +02:00
rivo
a8dd8799d6
Merge pull request #1015 from erdemkosk/master
Update README.md for adding new application
2024-08-07 11:57:14 +02:00
Erdem Köşk(MEK)
2502d5e846
Update README.md 2024-08-06 23:44:40 +03:00
rivo
08da3ea457
Merge pull request #1007 from alexey-savchuk/feat/1004-treeview-get-selected-func
Feat: add GetSelectedFunc method for TreeView component
2024-08-05 13:17:17 +02:00
Alexey Savchuk
799e99ce22
[#1004] fix: change the method doc comment 2024-08-04 17:02:24 +03:00
Alexey Savchuk
0f4bf9609c
[#1004] feat: add GetSelectedFunc method for TreeView component 2024-08-04 17:02:24 +03:00
Oliver
65571ae51e Removed one-cycle border removal for buttons as it does not work as intended. Fixes #1012 2024-07-28 13:49:35 +02:00
rivo
b0a7293b81
Merge pull request #1002 from dos-2/add_oddshub
Add "oddshub" to "Projects using `tview` in README.md
2024-06-25 20:57:42 +02:00
Daniel Dos Santos
ac5629a414 add oddshub to Projects using 2024-06-25 02:01:40 -04:00
rivo
c38c796625
Merge pull request #998 from SeRj-ThuramS/patch-1
Update dropdown.go to compile to lib.so
2024-06-22 17:20:42 +02:00
Makarov Dreyar
1a723d123a
Update dropdown.go to compile to lib.so
Fixing a bug for compiling into a library

2024.06.17 10:13:00 go(build)(error): # /tmp/go-build4195759871/b113/librtl-tview.so
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51de66]

goroutine 1 [running]:
cmd/link/internal/loader.(*Loader).SymSize(0x1?, 0x0?)
        cmd/link/internal/loader/loader.go:815 +0x46
cmd/link/internal/ld.(*pclntab).generatePctab.func1(0x0)
        cmd/link/internal/ld/pcln.go:467 +0x56
cmd/link/internal/ld.(*pclntab).generatePctab(0xc000c46f40, 0xc000124200, {0xc001724000, 0x4f3, 0x1?})
        cmd/link/internal/ld/pcln.go:490 +0x39f
cmd/link/internal/ld.(*Link).pclntab(0xc000124200, {0xc001720000?, 0xc0000126e0?, 0xf?})
        cmd/link/internal/ld/pcln.go:804 +0x1ad
cmd/link/internal/ld.Main(_, {0x20, 0x20, 0x1, 0x7, 0x10, 0x0, {0xc000012549, 0x1, 0x1}, ...})
        cmd/link/internal/ld/main.go:412 +0x175c
main.main()
        cmd/link/main.go:72 +0xdfb
2024-06-17 10:18:17 +03:00
rivo
23476fa0ba
Merge pull request #997 from murat-cileli/master
Added "DBee" to "Projects using `tview`" section.
2024-06-16 21:22:44 +02:00
Murat Çileli
9dbcaa2b64
Added "DBee" to "Projects using tview" section. 2024-06-15 23:00:25 +03:00
Oliver
037df494fb Fixed wrong handling of grid conflicts. Fixes #987, resolves #991 2024-05-24 08:30:12 +02:00
rivo
a5d02328f1
Merge pull request #976 from Zhwt/patch-1
Fix app crash when clicking spaces after slide page items in presentation demo.
2024-05-24 08:00:14 +02:00
Oliver
0ac5f73025 Allowing mouse overrides to specify that an event was consumed. Resolves #972, resolves #967 2024-05-19 22:02:18 +02:00
Oliver
a2885dd403 Fixed multiple items in grid. Fixes #987 2024-05-19 11:23:12 +02:00
Oliver
fc5680eecb Fixed text area selection border cases. Fixes #988 2024-05-19 10:01:16 +02:00
rivo
ed116790de
Merge pull request #983 from LinPr/readme
docs: update one project using tview project
2024-05-05 20:51:19 +02:00
LinPr
7915609961 docs: update one projects using tview project 2024-05-04 15:31:46 +08:00
rivo
1f4d5e8f88
Merge pull request #980 from LinPr/readme
docs: update two projects using tview project
2024-05-01 13:46:54 +02:00
rivo
7c0c4c26c3
Merge branch 'master' into readme 2024-05-01 13:46:43 +02:00
rivo
938794a11d
Merge pull request #981 from LinPr/screenshot
picture add a screenshot of autocomplete demo
2024-05-01 13:43:40 +02:00
rivo
27d9ef4386
Merge pull request #982 from kivattt/master
Update README.md
2024-05-01 13:43:00 +02:00
kivattt
f689f83208 Update README.md 2024-05-01 12:12:01 +02:00
LinPr
80bc1f60b9 pigcure: add a screenshot of autocomplete demo 2024-05-01 15:15:05 +08:00
LinPr
53c95d1348 docs: update two projects using tview project 2024-05-01 10:30:00 +08:00
rivo
6e1e54f465
Merge pull request #978 from SHAPPY0/master
Update README.md
2024-04-29 20:59:30 +02:00
Saurabh Sharma
b7a98345ef
Update README.md 2024-04-29 21:35:53 +05:30
Zhwt
ab1a0c7324
Fix panic when clicking spaces after slide page items. 2024-04-29 09:50:12 +08:00
rivo
c766eefb38
Merge pull request #974 from Egor3f/patch-1
Fix: FindItems returned wrong indices if mustContainBoth is false
2024-04-26 19:34:58 +02:00
rivo
0d02bb7824
Merge pull request #975 from vergonha/patch-1
Added Garden TUI to Readme.
2024-04-24 15:31:05 +02:00
vergonha
47ad095e99
Added Garden TUI to Readme. 2024-04-24 07:36:43 -03:00
Egor
b1d6673c9a
Fix: FindItems returned wrong indices if mustContainBoth is false 2024-04-21 18:03:25 +03:00
rivo
e119d15762
Merge pull request #971 from carpii/page_names
Added Page.GetPageNames(visibleOnly bool) API.
2024-04-20 15:46:18 +02:00
carpii
74079f4570 Added Page.GetPageNames(visibleOnly bool) API. 2024-04-19 20:34:33 +01:00
rivo
b0d41c484b
Merge pull request #966 from cuibuwei/master
chore: remove repetitive word
2024-04-13 13:55:34 +02:00
cuibuwei
943ecd8ba4 chore: remove repetitive word
Signed-off-by: cuibuwei <cuibuwei@gmail.com>
2024-04-13 19:54:14 +08:00
Oliver
79d4cc3212 Added individual styling for selected table cells. Resolves #934 2024-04-06 16:14:10 +02:00
Oliver
dfc1d8680f Removed code that forced the last grid item to be aligned bottom right. Fixes #951 2024-04-04 18:11:34 +02:00
Oliver
13affe3057 Table.CellAt is now public. Resolves #948 2024-04-04 12:48:00 +02:00
Oliver
a22293bda9 Clarifications on mouse handling, resolves #667 2024-04-03 16:26:47 +02:00
rivo
2245e5062d
Merge pull request #963 from digitallyserviced/mouse-oob
fixing #959 textview mouse out of bounds fix
2024-04-03 16:15:42 +02:00
Oliver
03bdc867be Fixed inconsistent selection styles in List, bugfixes in printWithStyle, removed reliance on ColorDefault. Fixes #954, resolves #960 2024-04-03 15:46:31 +02:00
Oliver
fec4f00cf0 Handling end-of-text special case in TextArea.Select(). Fixes #958 2024-04-02 22:13:23 +02:00
DevHegemony
e117f42adc update doc 2024-03-28 20:28:09 -04:00
DevHegemony
9d79348686 fixing #959 textview mouse out of bounds fix 2024-03-28 20:08:59 -04:00
Oliver
e804876934 Drawing the Box in Modal, not in contained Frame. Fixes #946 2024-03-07 18:33:18 +01:00