Cheer Xiao
|
c1b2be7cd1
|
Use util.{Panic Recover} in edit/reader.go
|
2013-11-17 00:36:24 +08:00 |
|
Cheer Xiao
|
b717399e03
|
At editor startup, find cursor position and insert artificial carriage return if not on first column.
|
2013-11-16 14:28:07 +08:00 |
|
Cheer Xiao
|
bd3611e28f
|
Implement an infinite unread buffer in edit.reader
|
2013-11-15 18:24:09 +08:00 |
|
Cheer Xiao
|
e1c96c6cfc
|
Separate "util" package.
|
2013-10-18 09:46:06 +08:00 |
|
Cheer Xiao
|
117850e80e
|
edit: Fix CSI parsing, a bit cleanup & commenting
|
2013-10-07 13:57:45 +08:00 |
|
Cheer Xiao
|
105a47b7cc
|
edit: More detailed BadEscSeq
|
2013-10-07 13:48:15 +08:00 |
|
Cheer Xiao
|
3584180846
|
edit: Fix parsing of Alt- (letter)
|
2013-09-27 21:15:16 +08:00 |
|
Cheer Xiao
|
c3d3993c15
|
edit: Remove unused code
|
2013-09-27 21:13:24 +08:00 |
|
Cheer Xiao
|
2765c43328
|
edit: Handle \r \n and Backspace as if they are graphical
|
2013-09-27 21:11:17 +08:00 |
|
Cheer Xiao
|
a0025694d1
|
edit: Parse Shift- function keys
|
2013-09-27 21:10:13 +08:00 |
|
Cheer Xiao
|
bb9f6e2850
|
edit: Fix an error not being returned
|
2013-09-27 20:57:34 +08:00 |
|
Cheer Xiao
|
d0694198f6
|
edit: Fix Alt-[ parsing
|
2013-09-27 20:56:44 +08:00 |
|
Cheer Xiao
|
f21de6531f
|
edit: Save modifiers as bitmasks, not bool members
|
2013-09-27 20:56:18 +08:00 |
|
Cheer Xiao
|
f853f3d616
|
edit: Remove reader.readAhead
|
2013-09-27 20:46:47 +08:00 |
|
Cheer Xiao
|
c6823f7eb3
|
edit: Move Key into separate file
|
2013-09-27 20:45:45 +08:00 |
|
Cheer Xiao
|
cc93192a2b
|
Parse most xterm-style function key sequences.
Notably, Shift- keys are not parsed.
|
2013-09-27 20:37:08 +08:00 |
|
Cheer Xiao
|
e0cf2dd5c8
|
Implement reader with timeout using syscall.Select instead
The old implementation is not correct since it always tries to read one more
rune and os.Stdin is shared with forked subprocesses
|
2013-09-27 12:19:06 +08:00 |
|
Cheer Xiao
|
74d60410a2
|
edit: Read arrow key escape sequence (^[[A etc.)
|
2013-09-24 18:07:38 +08:00 |
|
Cheer Xiao
|
debef0104d
|
edit: Comment special Ctrl- sequences
|
2013-09-23 18:13:48 +08:00 |
|
Cheer Xiao
|
753f79f4bf
|
edit: Remove special rune Escape
|
2013-09-23 18:10:49 +08:00 |
|
Cheer Xiao
|
aaa6cab6f2
|
edit: Support alt- keys
|
2013-09-23 18:06:52 +08:00 |
|
Cheer Xiao
|
85ed89f64b
|
Revamp async.RuneReader
|
2013-09-22 18:49:37 +08:00 |
|
Cheer Xiao
|
3ac4e9e164
|
New async.RuneReader to read runes asynchronously
|
2013-09-21 15:40:55 +08:00 |
|
Cheer Xiao
|
b749897275
|
edit: Add reader.readAhead
|
2013-09-21 10:28:59 +08:00 |
|
Cheer Xiao
|
761bccb401
|
edit: Cleanup
|
2013-09-21 00:32:55 +08:00 |
|
Cheer Xiao
|
c3bff421d4
|
edit: Implement Key.String()
|
2013-09-21 00:31:20 +08:00 |
|
Cheer Xiao
|
f8652b6523
|
edit: Factor reading-related things into reader.go
|
2013-09-21 00:27:12 +08:00 |
|