1
0
mirror of https://github.com/gdamore/tcell.git synced 2025-05-03 22:17:10 +08:00

16 Commits

Author SHA1 Message Date
Adam Bozanich
582c2db721 boxlayout: handle widget removal (#160) 2017-09-14 23:13:49 -07:00
Tomas Vik
57a866e10c Adding Widget Resize to BoxLayout function
- Widget might be using not just View but other mechanisms for rendering
  aware of the view size (e.g. ViewPort).
- By updating the view reference out of Widget, Widget doesn't have a
  chance to react on this layout algorithm
- That's an existing bug that happens when we try to use CellView inside
  of an BoxLayout
2017-08-06 10:31:10 -07:00
Frank Braun
1f66b72172 views: move method call out of the inner loop
No need to retrieve the same values multiple times.
2017-06-20 20:13:35 -07:00
Frank Braun
b87161466d views: fix corner case for limitCursor()
If m.width and m.height have not been initialized yet m.x and m.y would
be set to -1. Changing the order fixes that.
2017-06-20 20:13:35 -07:00
Frank Braun
440aba81dc Remove unnecessary initialization
window.updatesKeys() is called anyway
2017-06-20 20:10:52 -07:00
Frank Braun
9b7bd5c526 Remove unused struct field 2017-06-20 20:10:52 -07:00
Garrett D'Amore
ad43f8729b fixes #117 Add PGUP, PGDN, HOME, and END key handling to TextArea 2016-05-24 01:26:09 -07:00
Garrett D'Amore
c3e5bc256f fixes #116 Various improvements to tcell Views API 2016-05-24 00:50:38 -07:00
Garrett D'Amore
e05a300454 fixes #113 Create SimpleStyledTextBar (forgot git add) 2016-05-23 15:30:37 -07:00
Garrett D'Amore
91d5e748ae fixes #114 Add Fill() method View API
fixes #113 Create SimpleStyledTextBar
2016-05-23 14:55:11 -07:00
Garrett D'Amore
114688d248 fixes #112 SimpleStyledText could have simpler & more powerful API 2016-05-23 13:13:23 -07:00
Garrett D'Amore
43f9cc0d07 fixes #75 Add goreport and fix related issues 2015-11-04 17:05:24 -08:00
Garrett D'Amore
b727b9f424 fixes #74 Make Application an object/class
fixes #73 Views package has many go lint issues
2015-11-04 14:26:57 -08:00
Garrett D'Amore
ed2fa2d51c fixes #72 Make TextBar zero value usable 2015-11-04 11:24:20 -08:00
Garrett D'Amore
ca965237d9 fixes #52 Begin integrating topsl components 2015-11-01 14:44:23 -08:00
Garrett D'Amore
e7d14c2863 fixes #62 windows console may have FIFO hang
fixes #63 Initial views API integration
2015-10-30 12:18:06 -07:00