Iwasaki Yudai
8923220528
Clean up app.Run()
2015-08-22 13:18:35 +09:00
Iwasaki Yudai
b68e889762
Restructure handler function and move methods to clientContext
2015-08-21 19:01:09 +09:00
Iwasaki Yudai
25627da86f
Restructure handler function
2015-08-21 19:01:09 +09:00
Iwasaki Yudai
5eea5067db
Simplify structure of command messages
...
The first byte of a input message shows the type of that message.
0: normal keystrokes
1: resize window command
2015-08-21 19:01:06 +09:00
Iwasaki Yudai
ce96943af2
Create App instance with struct of options
2015-08-21 18:30:44 +09:00
Shoji Ihara
b15227c696
Random URL generation( Close #17 )
2015-08-21 18:15:00 +09:00
Iwasaki Yudai
2aaa155a3e
Call Wait()
to prevent processes from being defunct
2015-08-21 12:36:26 +09:00
Iwasaki Yudai
b4b9435b58
Don't send EOT
...
It was a bug that sending EOT when closing connection.
2015-08-21 12:34:15 +09:00
Iwasaki Yudai
10d0bd8a17
Log PID of processes for clients
2015-08-21 12:33:44 +09:00
mattn
791e1e22cb
HTTP Basic Authentication support. Close #8
2015-08-20 15:40:38 +09:00
Iwasaki Yudai
0718fbe7c4
Merge pull request #9 from shingt/fix-typo
...
Fix typo in starting message
2015-08-17 21:10:42 -07:00
David Horsley
8e5a277bb3
Only send EOF in writable sessions
...
Currently EOF is sent to the pty even when read-only mode is requested. This can cause trouble in attached tmux sessions, for example. Since the EOF typically used in shells as a shortcut exit, this can result in undesired disconnects.
2015-08-18 10:47:15 +10:00
shingt
be0758777d
Fix typo
2015-08-18 06:39:28 +09:00
Iwasaki Yudai
87f8409068
Replace UTF8 bounds check with utf8reader
2015-08-16 23:46:35 -07:00
Iwasaki Yudai
2050775288
Send EOT before exiting
...
The processes were left behind when clients closed their windows.
2015-08-16 22:24:24 -07:00
Iwasaki Yudai
abe3f5c89f
Don't send invalid UTF-8 string
...
When a rune stands over the buffer boundary, invalid UTF-8 bytes were
sent to the client. Now the logic checks if the tail of the buffer can
be decoded as a valid rune. When it's an invalid byte sequence, the logic
keeps it in the buffer and send it in the next loop with the following byte sequence.
2015-08-16 19:07:02 -07:00
Iwasaki Yudai
cba86dd046
Initialize repository
2015-08-16 20:52:27 +09:00