1
0
mirror of https://github.com/gdamore/tcell.git synced 2025-04-27 13:48:50 +08:00

43 Commits

Author SHA1 Message Date
Garrett D'Amore
061d51a604 fixes #169 data race between inputLoop and mainLoop 2017-11-24 15:55:02 -08:00
Garrett D'Amore
8f08469772 fixes #167 Break up the database
This completely restructures the database of terminal types, putting
each terminal in its own file.  We also compress the database files,
and use infocmp instead of trying to use the C level API.

The mkdatabase script will rebuild the entire database from the terminfo
files on the system.  Individual entries can also be built by simply running
the mkinfo program with the terminal type.
2017-11-24 13:13:06 -08:00
Garrett D'Amore
87c64c441a Post an error event on receiving an error from the input. 2017-09-25 07:14:38 -07:00
Garrett D'Amore
50f9ed7673 fixes #129 Very high IDLE_WAKE - Power consumption
fixes #164 KeyEscape does not work in Go 1.9 under Linux

This is a complete refactor of the input loop for UNIX systems.
We use a blocking reader on the TTY, and a separate select
loop for timers and other events.  This means that our idle
use should be low now.
2017-09-23 23:25:24 -07:00
Junegunn Choi
d4838882df
Fix display of 24-bit background with default foreground 2016-11-25 16:26:21 +09: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
02686d5300 fixes #103 ShiftAlt + arrows and ShiftCtrl + arrows 2016-05-19 16:45:31 -07:00
Garrett D'Amore
2af553baed fixes #91 why add a CSI before each SGR attribute? 2016-05-19 11:35:33 -07:00
Garrett D'Amore
a04d3e916b fixes #104 Screen.ShowCursor() does not display cursor 2016-05-18 19:57:23 -07:00
Zachary Yedidia
f722733809 fixes #109 Support both meta and alt + arrow keys 2016-05-18 19:49:02 -07:00
Garrett D'Amore
9059a787e5 fixes #98 Deal with incorrect motion event reporting 2016-04-29 06:08:51 -07:00
Garrett D'Amore
9aae61f33a fixes #95 Detecting ctrl, shift, alt + arrow keys 2016-04-28 13:30:53 -07:00
Garrett D'Amore
e8222e0f89 fixes #88 Detecting meta/alt key events 2016-04-28 00:44:30 -07:00
Zachary Yedidia
0dd71be383 fixes #92 sgr mouse report off by one error 2016-04-20 07:37:07 -07:00
Garrett D'Amore
815826d8a7 fixes #87 keypad handling needs work 2016-03-23 13:15:58 -07:00
Garrett D'Amore
04e5e8c5bc fixes #85 Key press not registered (only key release) for some keys 2016-03-23 10:49:51 -07:00
Garrett D'Amore
5dc5326c0e fixes #44 Expose some capability info 2016-01-19 15:51:33 -08:00
Garrett D'Amore
46abb28d77 fixes #83 Data race while calling Screen.Fini 2015-12-15 12:55:04 -08:00
Garrett D'Amore
43f9cc0d07 fixes #75 Add goreport and fix related issues 2015-11-04 17:05:24 -08:00
Garrett D'Amore
33f5ff39fa fixes #43 Minimize use of CGO 2015-11-01 21:37:37 -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
Garrett D'Amore
f426ddb33c fixes #54 Want 24-bit color
fixes #59 terminfo handling not right for extended formats
2015-10-27 23:28:26 -07:00
Garrett D'Amore
3a37c6d89f fixes #58 Use color space to find best matching colors
fixes #57 Windows build broken by color renames
2015-10-27 16:42:22 -07:00
Garrett D'Amore
e90b190a07 fixes #56 Color space must increase
fixes #55 Color names are unfortunate
2015-10-27 14:29:32 -07:00
Garrett D'Amore
6939959660 fixes #50 Expose CanDisplay(rune) 2015-10-14 19:46:35 -07:00
Garrett D'Amore
5bef83acf3 fixes #45 Add fallback rune support 2015-10-14 19:09:00 -07:00
Garrett D'Amore
71eb31ce98 fixes #49 Emit "EnableACS" on legacy terminals 2015-10-14 14:36:23 -07:00
Garrett D'Amore
7322e40c26 fixes #37 Improve docs & fix golint
fixes #38 Broke wide characters in last update
fixes #39 Clean up logic for encodings, enhance fallback options
fixes #36 Support more mouse buttons on Windows.
2015-10-08 09:48:01 -07:00
Garrett D'Amore
02eef725e2 fixes #35 Inadequate buffering dirty/detection algorithm 2015-10-07 02:35:14 -07:00
Garrett D'Amore
eccaea0126 fixes #30 Resize needs to invalidate cells
fixes #29 ErrorEvent needs to implement error
2015-10-06 01:07:11 -07:00
Garrett D'Amore
118fce3ce9 fixes #28 Writes can occur after Fini 2015-10-06 00:14:18 -07:00
Garrett D'Amore
b19d7067f2 fixes #26 Improved docs desired 2015-10-05 15:46:51 -07:00
Garrett D'Amore
c2130fd973 fixes #25 Input of unusual characters not right in non-Unicode locales
fixes #24 Combining characters not rendered on GB18030
2015-10-05 14:30:36 -07:00
Garrett D'Amore
4a014d05f5 fixes #23 Fifo overfull hang 2015-10-05 01:27:55 -07:00
Garrett D'Amore
b8c3aaddbc fixes #22 Full width characters not displayed in GB18030 2015-10-05 00:10:17 -07:00
Garrett D'Amore
dd7d40dd07 fixes #17 Support UTF-8 to 8-bit codes 2015-10-04 23:22:57 -07:00
Garrett D'Amore
061768321e fixes #20 Wide characters & combining characters busted
fixes #21 Want unicode test program
fixes #15 Add ACS drawing support
2015-10-04 19:53:38 -07:00
Garrett D'Amore
8eba8adb55 fixes #19 Stable output from mkinfo.go
fixes #18 Don't parse mouse records for non-mouse terminals
fixes #16 Change mouse terminfo entries
2015-10-04 12:30:50 -07:00
Garrett D'Amore
feab7e00ed Add additional key codes 2015-10-03 11:29:55 -07:00
Garrett D'Amore
434fc57169 fixes #10 Eliminate separate buffered implementation
fixes #9 Various API enhancements
fixes #8 Mouse demo improvements
fixes #7 Add support for handling $<delay> delays
fixes #6 mkinfo doesn't honor terminfo LINES and COLUMNS
fixes #5 Add better mouse tracking
fixes #3 Windows performance improvements
2015-10-02 21:49:13 -07:00
Garrett D'Amore
385072b4a8 fixes #1 Add Windows support. 2015-09-28 23:42:13 -07:00
Garrett D'Amore
b4ae936d42 Initial import of Tcell. 2015-09-26 23:37:54 -07:00