14 Commits

Author SHA1 Message Date
Marcin Kulik
f693cba9ab Fix handling of partial UTF-8 sequences in recorded stdout 2016-02-20 18:27:07 +01:00
Marcin Kulik
0012d2c393 Fix putting terminal into raw mode (fixes #92) 2015-06-21 17:38:10 +02:00
Marcin Kulik
2578e5b5ed Update paths due to repo renaming 2015-03-05 15:57:12 +01:00
Marcin Kulik
5821a4c4bb Vendor all deps 2015-03-03 13:00:17 +01:00
Marcin Kulik
f44198691c New asciicast file format, ability to save asciicasts locally 2015-02-24 16:28:11 +01:00
Marcin Kulik
43c98f7eaf Make test match struct's name 2014-12-16 15:15:22 +01:00
Marcin Kulik
6de1a0b72e Don't test Terminal for race conditions in concurrent access
There's no sense in accessing the same Terminal instance from multiple
goroutines, is it?
2014-12-16 15:13:07 +01:00
Marcin Kulik
75fd6bebca Workaround race condition when child process exits
There's race condition happening (so far observed only on CentOS) at the
moment when child process exits.  Sometimes reading from master fd
blocks forever even when the process is already reaped and there's no
more data to be read. Not sure what's the reason, it may be some CentOS
specific bug.

Using timeout does the job and seems to be relatively harmless.
2014-12-14 13:00:57 +01:00
Marcin Kulik
0830369fd8 Don't assume full path to "sh" bin
For ex on android it's /system/bin/sh
2014-11-22 19:37:32 +01:00
Marcin Kulik
028d360a1d Stop copying stdin after process exits 2014-11-13 20:45:59 +01:00
Marcin Kulik
8a11039c56 Rename test func 2014-11-13 20:45:58 +01:00
Marcin Kulik
a85bedc469 Test for presence of ASCIINEMA_REC env var 2014-11-13 20:45:58 +01:00
Marcin Kulik
28fa3591fe Add pty based Terminal implementation 2014-11-13 20:45:58 +01:00
Marcin Kulik
5ad639629f Add rec command 2014-11-13 20:45:58 +01:00