Commit Graph

61 Commits

Author SHA1 Message Date
Iwasaki Yudai
6a43836f0b Add go fmt to check format of code 2015-08-20 16:48:35 +09:00
mattn
791e1e22cb HTTP Basic Authentication support. Close #8 2015-08-20 15:40:38 +09:00
Iwasaki Yudai
a09b060216 Show "Connection Closed" message as overlay
Closes #7.
2015-08-17 21:45:52 -07: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
6de9b0515f Set position of body element to absolute
Some terminal massages were shown at strange positions.
2015-08-16 19:07:06 -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