HSplit log, and update docs

This commit is contained in:
Zachary Yedidia 2016-09-27 14:29:55 -04:00
parent c070e3e8f7
commit 0ae5ae5d9a
3 changed files with 4 additions and 2 deletions

View File

@ -92,7 +92,7 @@ func DefaultCommands() map[string]StrCommand {
func ToggleLog(args []string) {
buffer := messenger.getBuffer()
if CurView().Type != vtLog {
CurView().VSplit(buffer)
CurView().HSplit(buffer)
CurView().Type = vtLog
} else {
CurView().Quit(true)

View File

@ -401,7 +401,7 @@ func runtimeHelpColorsMd() (*asset, error) {
return a, nil
}
var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x55\xc1\x8e\x1b\x37\x0c\xbd\xfb\x2b\x1e\xdc\xc3\x26\xc5\xee\x7c\x80\x2f\x45\x51\x14\x68\x81\xb4\x68\x9b\x5c\x7a\x93\x3c\xc3\x19\x09\xd6\x88\x13\x51\xb2\x33\xfd\xfa\x82\x92\xd6\xbb\xc9\xf6\xd0\x9b\x2d\x3d\x3e\x3e\x91\x8f\x9c\xef\xf0\x07\x8b\xf8\x73\x20\x8c\xbc\xae\x36\x4e\x72\x38\xfc\xcd\x05\xa3\x8d\xa0\x2f\x34\x96\x4c\xd0\x9f\x93\xcf\x9c\x9e\x31\x38\xef\xd8\x12\x89\xf8\xb8\xc0\xfc\x94\x53\x78\x22\x83\x99\x43\xe0\x1b\xd5\xdb\xec\xee\x84\xc3\xe1\x17\x4a\x04\x9b\xa8\x9e\x6e\xdf\xe6\x43\x76\x36\x63\xef\x39\x8b\xd0\x70\x38\x7c\x0f\xf3\xb9\xf8\x6c\x4e\xf8\xb3\xf8\x2c\x58\xfd\x98\xb8\x9d\x8b\xbd\x12\x66\x1f\x28\xda\x95\x7e\x30\x27\x7c\xb4\x57\x92\x96\xb0\xa4\x44\x31\xe3\x5c\xe6\x99\xd2\x80\x5f\xe7\x7a\xfc\x0c\x86\x17\x6c\x89\xaf\x7e\xa2\x09\x3e\xe3\xe6\x43\x38\x00\x78\xa8\x94\x56\x1e\xbe\x42\xb7\x6c\x89\xb6\x60\x47\xc2\x51\xc8\xa6\xd1\x1d\x71\xbc\xda\x50\xe8\x88\x39\xd8\x45\xcc\x09\x9f\x9c\x97\xca\x84\x67\xa8\x69\x50\x83\x9b\xcf\x0e\xa6\xe2\xcd\x00\xcd\xf4\xc9\x11\x4c\x8b\xac\xf5\xe0\x2d\x7b\x8e\x36\x0c\x7a\xf9\x63\x46\x56\xb2\x8d\x7d\xcc\x8f\xaa\x25\x55\xc9\x1c\xc3\x0e\x8e\x54\x53\x9e\x60\x46\xf3\x88\x9b\xf3\xa3\x03\x45\x7b\x0e\x24\x30\xa3\xa3\xf1\x62\xb0\xf2\x44\x35\x4f\xbb\xb6\x72\x11\xf8\x59\x4b\xfb\x30\x21\xf8\x0b\x21\x33\x36\x4a\x33\xa7\xb5\xbe\xb5\x4b\x5e\xb5\x68\x64\x47\x87\xec\x57\x3a\x28\xc3\xef\x9c\xa9\x35\xe6\xfe\x9c\xb5\x48\xc6\x99\x60\x71\xb5\xc1\x4f\x48\xb4\xd0\x97\x01\x5a\x65\x55\xc7\xad\xd8\x36\x2d\x45\xf9\x44\x59\x26\x26\x41\xe4\x0c\x57\x2b\x1c\x77\xc8\x66\x47\x12\xf8\x08\x9f\x1f\x6b\xd3\x57\xbb\x83\x57\x9f\x6b\xf4\xe7\xc2\x99\xa4\x37\x9a\x72\x2f\x10\x5a\x0d\x4f\x10\xca\xad\xd3\xfd\x3c\x73\xbb\x1a\xf0\x91\x9a\xbb\x4c\xbb\x11\x03\x47\x61\x43\xe6\xcd\x8f\xaa\x64\xe6\x04\x8b\xe0\x25\xab\xd0\x0e\xba\x9b\x4e\x28\xdf\x73\x06\x1e\x6d\xf8\xbf\x89\x51\xd1\x61\xc7\xbb\xda\x25\x1f\x5f\xfb\x50\xf3\x36\x2b\xbe\xef\xec\x8e\x6f\x9d\x41\x39\x1d\xdf\xbe\xf6\x6d\xa3\xec\x85\x5c\xfc\x95\x62\x47\xb7\x70\xba\xda\x80\x23\x7d\x69\x93\xc7\xf1\x68\x4e\xf8\x59\x63\x6c\x26\x81\xc5\x87\x62\xf1\x72\x3b\xbc\xea\x61\x1d\x9f\xe6\xd2\xc8\x55\xd7\x96\x7c\xcc\xda\x91\xec\x74\x86\x85\x6b\x2d\xc4\x71\x09\x93\xce\x20\xcc\x4a\x22\x14\x17\x4a\xa7\xdf\x48\xc4\x2e\xf4\x6e\x18\x86\xf7\x46\x9f\x3e\x79\xd9\x82\xdd\x61\x95\xa9\x35\xa0\x0d\x4b\x89\x10\xf7\xd4\x07\xdb\x9c\x90\x4a\x94\x57\x8f\x11\x47\x21\xdc\x77\x48\x2f\xd6\xd9\x8e\x97\x25\x71\x89\xd3\x50\xe7\x43\x39\x3b\xe4\x41\xc0\x25\x6f\xa5\x8d\xaa\x7a\xaf\x67\xa6\x1a\xad\xae\x0b\x3e\x12\x6e\x8e\xd4\x4f\x98\x7d\xf4\xe2\x48\x34\x6f\xf4\x71\x69\xaa\xce\x3e\x4e\xb8\xd0\x0e\x3b\xf6\xca\x8f\x89\x7a\xc9\x2e\xb4\xeb\xb5\x96\x60\x4e\xbc\x56\x58\xe6\x8e\x7c\x71\x95\xd0\xd8\x0c\xc3\x51\xe5\xbd\x44\x09\xec\x99\x75\x1f\x71\xc2\xca\x3a\xaf\x71\x66\x3d\x53\xcd\x5a\xf9\x0b\xed\x02\x7d\xad\xed\x0c\x3a\xf6\xf6\x6a\x7d\xd0\xd1\x6d\x02\xaf\xb2\x85\xaa\xbe\x2d\x1e\x73\x02\x6f\xa4\x50\x5c\x29\x65\xaf\x76\x6c\x88\xb6\x50\xee\xb8\xba\xe0\x22\xbf\xde\x6f\xad\xb5\x6d\xc5\x3d\xbe\x25\xd0\x6d\xb2\x51\xa4\xa9\x51\xe9\x5e\x5f\xb7\xbc\x77\x97\x56\x31\xee\x8d\x18\x51\x6a\x2b\xcf\x3a\x0d\xce\x25\xdf\x15\x3a\x4e\xfe\x1f\x8e\xf9\x25\x45\x94\x4c\x76\x02\xcf\xaa\xe5\x5b\x05\x35\x45\xb6\xe7\xb7\x8f\x7d\x71\x89\x5e\x69\x7b\x2d\x22\xdd\x90\xed\x79\x38\x1c\x9e\x9e\x9e\x0e\x07\x75\x47\xfb\xc6\x68\xbf\xee\x9f\x0f\xad\xe8\x7d\xad\xf7\x4f\xcf\x44\xb3\x2d\x21\x63\x0b\x65\xf1\x51\x4e\x35\x6f\xf0\x51\xbf\x28\x1f\xd4\xf9\xaf\xc7\xae\x26\xd4\x0e\x52\x4a\x9c\xfa\xf6\x59\x78\x5e\x15\xfd\x57\x89\xa8\xbf\xc1\xf1\x4d\xd4\x33\xd4\xaf\x1b\xa7\x2c\x77\x78\xff\xff\xdf\x21\xff\x06\x00\x00\xff\xff\x95\xdb\x99\xe7\x73\x07\x00\x00")
var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x55\x4d\x8f\xdb\x36\x10\xbd\xfb\x57\x3c\x6c\x0f\x9b\x14\xbb\xfa\x01\xbe\x14\x45\x51\xa0\x05\xd2\xa2\x6d\x72\xe9\x8d\x94\x34\x92\x08\x53\x1c\x85\x33\xb4\xe3\xfe\xfa\x62\x48\xad\xd7\xc9\xf6\xd0\x9b\x2d\xbe\x79\xf3\xf8\xe6\x83\xdf\xe1\x0f\x16\x09\x7d\x24\x0c\xbc\xae\x3e\x8d\x72\x38\xfc\xcd\x05\x83\x4f\xa0\x2f\x34\x14\x25\xd8\xcf\x31\x28\xe7\x17\x0c\xfa\x2b\xb6\x4c\x22\x21\xcd\x70\x3f\x69\x8e\xcf\xe4\x30\x71\x8c\x7c\xa1\x7a\xaa\xcb\x8d\xb0\x3b\xfc\x42\x99\xe0\x33\xd5\xaf\xdb\xb7\xf9\xa0\x8b\x57\x5c\xf7\x9c\x45\xa8\x3b\x1c\xbe\x87\xfb\x5c\x82\xba\x23\xfe\x2c\x41\x05\x6b\x18\x32\xb7\xef\xe2\xcf\x84\x29\x44\x4a\x7e\xa5\x1f\xdc\x11\x1f\xfd\x99\xa4\x25\x2c\x39\x53\x52\xf4\x65\x9a\x28\x77\xf8\x75\xaa\x9f\x5f\xc0\x08\x82\x2d\xf3\x39\x8c\x34\x22\x28\x2e\x21\xc6\x03\x80\xc7\x4a\xe9\xe5\xf1\x2b\x74\xcb\x96\x69\x8b\x7e\x20\x3c\x08\xf9\x3c\x2c\x0f\x78\x38\xfb\x58\xe8\x01\x53\xf4\xb3\xb8\x23\x3e\x2d\x41\x2a\x13\x5e\xa0\xae\x41\x1d\x2e\x41\x17\xb8\x8a\x77\x1d\x2c\xd3\xa7\x85\xe0\x5a\x64\xf5\x83\x37\x0d\x9c\x7c\xec\xec\xf0\x47\x85\x1a\xd9\xc6\x21\xe9\x93\x69\xc9\x55\x32\xa7\x78\x05\x27\xaa\x29\x8f\x70\x83\x7b\xc2\x65\x09\xc3\x02\x4a\xbe\x8f\x24\x70\xc3\x42\xc3\xc9\x61\xe5\x91\x6a\x9e\x76\xec\xe5\x24\x08\x93\x59\xfb\x38\x22\x86\x13\x41\x19\x1b\xe5\x89\xf3\x5a\xef\xba\x4b\x5e\xcd\x34\xf2\xc3\x02\x0d\x2b\x1d\x8c\xe1\x77\x56\x6a\x85\xb9\x5d\x67\x2d\xa2\xe8\x09\x1e\x67\x1f\xc3\x88\x4c\x33\x7d\xe9\x60\x2e\x9b\x3a\x6e\x66\xfb\x3c\x17\xe3\x13\x63\x19\x99\x04\x89\x15\x4b\x75\x38\x5d\x21\x9b\x1f\x48\x10\x12\x82\x3e\xd5\xa2\xaf\xfe\x0a\x5e\x83\xd6\xe8\xcf\x85\x95\x64\x2f\x34\xe9\x6e\x10\x9a\x87\x47\x08\x69\xab\xf4\xfe\x5d\xb9\x1d\x75\xf8\x48\xad\xbb\x5c\x3b\x11\x87\x85\xe2\x06\xe5\x2d\x0c\xa6\x64\xe2\x0c\x8f\x18\x44\x4d\xe8\x0e\xba\x35\x9d\x90\xde\x72\x46\x1e\x7c\xfc\xbf\x89\x51\xd1\xf1\x8a\x77\xb5\x4a\x21\xdd\xf7\xa1\xe5\x6d\xad\xf8\x7e\x67\x5f\xf8\xb2\x33\x18\xe7\xc2\x97\xaf\xfb\xb6\x51\xee\x46\xce\xe1\x4c\x69\x47\xb7\x70\x3a\xfb\x88\x07\xfa\xd2\x26\x8f\xd3\x83\x3b\xe2\x67\x8b\xf1\x4a\x02\x8f\x0f\xc5\xe3\xf5\xb4\xbb\xab\x61\x1d\x9f\xd6\xa5\x89\xab\xae\x2d\x87\xa4\x56\x11\x5d\x6c\x86\x85\xab\x17\xb2\x70\x89\xa3\xcd\x20\xdc\x4a\x22\x94\x66\xca\xc7\xdf\x48\xc4\xcf\xf4\xae\xeb\xba\xf7\xce\xae\x3e\x06\xd9\xa2\xbf\xc2\x1b\x53\x2b\x40\x1b\x96\x92\x20\xcb\xf3\x3e\xd8\xee\x88\x5c\x92\xdc\x5d\x46\x16\x8a\xf1\xb6\x43\x76\xb3\x7a\x3f\x9c\xe6\xcc\x25\x8d\x5d\x9d\x0f\xe3\xdc\x21\x8f\x02\x2e\xba\x95\x36\xaa\xd6\x7b\x7b\x66\xaa\xd1\xd6\x75\x31\x24\xc2\x65\x21\xeb\x27\x4c\x21\x05\x59\x48\x2c\x6f\x0a\x69\x6e\xaa\xfa\x90\x46\x9c\xe8\x0a\x3f\xec\xce\x0f\x99\x76\xcb\x4e\x74\xb5\x63\xb3\x60\xca\xbc\x56\x98\xf2\x8e\x7c\xed\x2a\xa1\xa1\x35\x0c\x27\x93\xf7\x1a\x25\xf0\x3d\xdb\x3e\xe2\x8c\x95\x6d\x5e\xd3\xc4\xf6\xcd\x34\x9b\xf3\x27\xba\x0a\xec\xb6\x7e\x67\xb0\xb1\xf7\x67\x1f\xa2\x8d\x6e\x13\x78\x96\x2d\x56\xf5\x6d\xf1\xb8\x23\x78\x23\x83\xe2\x4c\x59\x83\xb5\x63\x43\xb4\x85\x72\xc3\xd5\x05\x97\xf8\x7e\xbf\xb5\xd2\xb6\x15\xf7\xf4\x96\xc0\xb6\xc9\x46\x89\xc6\x46\x65\x7b\x7d\xdd\xf4\xba\x77\x69\x15\xb3\xbc\x11\x23\x46\xed\xe5\x45\xa7\x43\x5f\xf4\xa6\x70\xe1\x1c\xfe\xe1\xa4\xaf\x29\x92\x28\xf9\x11\x3c\x99\x96\x6f\x15\xd4\x14\xea\xfb\xb7\x97\x7d\xed\x12\x3b\xb2\xf2\x7a\x24\xba\x40\x7d\xdf\x5c\x8a\x3c\xdf\x39\x13\x79\xb6\x41\xf1\x31\x62\x6d\xed\xd9\x6c\x1e\xa9\x2f\x33\x44\xbd\x52\xdb\x42\x87\xe7\xe7\xe7\xc3\xc1\x1a\xab\x3d\x4f\x56\xea\xdb\xcb\x63\xc5\xb8\xbd\x08\xfb\xab\x35\xd2\xe4\x4b\x54\x6c\xb1\xcc\x21\xc9\xb1\x25\x0f\xc9\x1e\xa3\x0f\x36\x34\xf7\x13\x5b\xb5\x5a\xf1\x29\x67\xce\xfb\xe2\x9a\x79\x5a\x0d\xfd\x57\x49\xa8\xbf\xc1\xe9\x4d\xd4\x0b\x34\xac\x1b\x67\x95\x1b\x7c\xff\xff\xdf\x21\xff\x06\x00\x00\xff\xff\x59\x07\x55\x65\xae\x07\x00\x00")
func runtimeHelpCommandsMdBytes() ([]byte, error) {
return bindataRead(

View File

@ -42,6 +42,8 @@ Here are the possible commands that you can use.
* `tab filename`: opens the given file in a new tab.
* `log`: opens a log of all messages and debug statements
---
The following commands are provided by the default plugins: