Cheer Xiao
|
336815fe4b
|
edit: Ditch cancel-history, just use start-insert
|
2014-03-13 22:30:23 +08:00 |
|
Cheer Xiao
|
36ab4b4f12
|
edit: Fix history
|
2014-03-13 22:27:38 +08:00 |
|
Cheer Xiao
|
370b88cfea
|
edit: Get rid of leReturn.newMode and changeMode
|
2014-03-13 22:21:58 +08:00 |
|
Cheer Xiao
|
8e56d98994
|
edit: Put all transitional states in editorState
|
2014-03-13 22:14:49 +08:00 |
|
Cheer Xiao
|
f034e85888
|
edit: editorState.history is now not a pointer
|
2014-03-13 15:53:48 +08:00 |
|
Cheer Xiao
|
3506642f04
|
parse: Get rid of ListNode
|
2014-03-11 18:28:56 +08:00 |
|
Cheer Xiao
|
b2185a7457
|
eval: Make cd default to home dir
|
2014-03-10 22:46:19 +08:00 |
|
Cheer Xiao
|
cc0b2644b3
|
Cross multiline editing and signal handling off TODO list
|
2014-03-10 22:37:46 +08:00 |
|
Cheer Xiao
|
38a8c657fc
|
edit: Reset ed.navigation properly
|
2014-03-10 21:34:54 +08:00 |
|
Cheer Xiao
|
de062a03d1
|
edit: Handle SIGWINCH and SIGINT
SIGINT handling is a bit buggy but will be fixed.
|
2014-03-10 21:33:08 +08:00 |
|
Cheer Xiao
|
2820389fa4
|
edit: sigch -> sigs
|
2014-03-10 21:25:00 +08:00 |
|
Cheer Xiao
|
dfb8e16c2c
|
Revert the accidental commenting of signal.Notify in main
|
2014-03-10 21:24:03 +08:00 |
|
Cheer Xiao
|
0624368bcc
|
Use util.AsyncReader to build a new async edit.Reader
Now we can start really dealing with signals!
|
2014-03-10 21:22:54 +08:00 |
|
Cheer Xiao
|
dddfda192f
|
util/async-reader.go: Fix race condition by only spawning a single .run()
|
2014-03-10 21:21:05 +08:00 |
|
Cheer Xiao
|
1e4cd9dea0
|
edit: Make 0 a special rune for invalid key
|
2014-03-10 19:07:47 +08:00 |
|
Cheer Xiao
|
877cbe58d1
|
edit: Key.rune -> .Rune
|
2014-03-10 19:06:22 +08:00 |
|
Cheer Xiao
|
64dd483c73
|
edit: Factor out {Setup Cleanup}Terminal
|
2014-03-10 18:52:39 +08:00 |
|
Cheer Xiao
|
b2f4e8f781
|
edit: ReadLine now accepts funcs as prompt and rprompt.
The prompt is now correctly updated when cding in navigation mode
|
2014-03-10 14:51:37 +08:00 |
|
Cheer Xiao
|
afaa18377e
|
edit: Implement and bind move-dot-{up down}
|
2014-03-10 13:47:19 +08:00 |
|
Cheer Xiao
|
6b7e1296c1
|
Add util.Find{FirstEOL LastSOL}; use it
|
2014-03-10 00:31:22 +08:00 |
|
Cheer Xiao
|
8460fa8b4c
|
edit: Fix killLineRight
|
2014-03-10 00:28:43 +08:00 |
|
Cheer Xiao
|
c9686c85be
|
edit: Export most funcs in wcwidth.go
|
2014-03-10 00:17:29 +08:00 |
|
Cheer Xiao
|
bbca89f4c9
|
Support Shift-Tab
|
2014-03-10 00:12:12 +08:00 |
|
Cheer Xiao
|
20924b0c31
|
edit: Don't use Capital in error msg
|
2014-03-10 00:07:29 +08:00 |
|
Cheer Xiao
|
2a4887007b
|
edit: Fix (*BadEscSeq).Error
|
2014-03-10 00:01:51 +08:00 |
|
Cheer Xiao
|
0e8756ce16
|
edit: Ditch -b or -f in builtin names
One of up/down, left/right or prev/next is used depending on the context.
|
2014-03-09 23:59:49 +08:00 |
|
Cheer Xiao
|
d017c35dd9
|
edit: Ditch reader.unreadBuffer
|
2014-03-09 16:21:00 +08:00 |
|
Cheer Xiao
|
f50bfa6707
|
async-reader.go: Panic when failing to write to pipe
|
2014-03-09 16:20:05 +08:00 |
|
Cheer Xiao
|
e1b98bfc83
|
Add util.AsyncReader, to supersede util.TimedReader
|
2014-03-09 15:16:56 +08:00 |
|
Cheer Xiao
|
1e788f8161
|
edit: Fix command mode line
|
2014-03-09 00:57:49 +08:00 |
|
Cheer Xiao
|
075c399591
|
edit: Only do a full refresh when w.oldBuf.cells != nil
This is quite dirty...
|
2014-03-09 00:56:17 +08:00 |
|
Cheer Xiao
|
3fd932c5bc
|
edit: Implement and bind builtin kill-rune-f
|
2014-03-09 00:53:07 +08:00 |
|
Cheer Xiao
|
331ea9cb09
|
edit: Implement editor builtins kill-line-{b f} really in terms of lines
|
2014-03-09 00:49:30 +08:00 |
|
Cheer Xiao
|
88907441b0
|
edit: Support inserting Enter
|
2014-03-09 00:07:11 +08:00 |
|
Cheer Xiao
|
15d141036f
|
edit: Remove trailing content when doing full refresh
|
2014-03-08 23:30:28 +08:00 |
|
Cheer Xiao
|
9a1af10096
|
edit: Use full refresh when necessary
|
2014-03-08 23:26:13 +08:00 |
|
Cheer Xiao
|
e8d7ef625a
|
edit: Line-based delta rendering
|
2014-03-08 23:08:47 +08:00 |
|
Cheer Xiao
|
0c83cd12ba
|
Small refactor
|
2014-03-08 22:45:47 +08:00 |
|
Cheer Xiao
|
b600805597
|
Tweak words on navigation mode
|
2014-03-08 16:35:50 +08:00 |
|
Cheer Xiao
|
81d869d562
|
Mark navigation mode as implemented
|
2014-03-08 16:33:59 +08:00 |
|
Cheer Xiao
|
c046eebe9a
|
Add navigation mode screenshot, update existing ones
|
2014-03-08 16:31:59 +08:00 |
|
Cheer Xiao
|
b26c5112bb
|
Completion listing now supports colors too!
|
2014-03-08 16:25:37 +08:00 |
|
Cheer Xiao
|
b89983241f
|
determineFeature should use Lstat, not Stat
|
2014-03-08 16:19:18 +08:00 |
|
Cheer Xiao
|
3443f12660
|
Navigation mode: fix buffer.extendHorizontal
|
2014-03-08 16:18:45 +08:00 |
|
Cheer Xiao
|
9fcdac8e44
|
Fix navigation mode when pwd is /
|
2014-03-08 16:15:00 +08:00 |
|
Cheer Xiao
|
71c491af9d
|
Fix navigation listing coloring
|
2014-03-08 16:05:13 +08:00 |
|
Cheer Xiao
|
dff9aeaf88
|
Navigation mode: when descending into dir, reset selected
|
2014-03-08 15:55:16 +08:00 |
|
Cheer Xiao
|
0ea0ba22ef
|
Implement coloring of navigation listing (buggy)
|
2014-03-08 15:52:51 +08:00 |
|
Cheer Xiao
|
603e175d90
|
Add edit/ls-color.go
|
2014-03-08 15:43:05 +08:00 |
|
Cheer Xiao
|
896fa1b9c3
|
Put padding inside navigation columns
|
2014-03-08 12:36:17 +08:00 |
|