Marcin Kulik
c85a4a7acd
Configurable hotkeys for recording
2020-05-17 23:19:12 +02:00
Marcin Kulik
4093b42f35
Lower terminal answerback time to 10ms
2020-05-17 23:10:34 +02:00
Devin J. Pohly
e966e09f63
Consume terminal answerbacks in asciinema cat
...
If the asciicast contains escape sequence queries like "CSI 6 n", the
terminal will both echo and input its responses. Use the raw() context
manager that we already have to attempt to consume this "input."
There is, unfortunately, no way of finding out exactly when the terminal
has finished its answerbacks. This patch adds a 50ms wait, which should
be overkill for a local terminal (in my tests, 3ms was usually enough).
For a remote terminal, this number becomes harder to estimate.
Technically this only needs to be done if whatever we're writing to
isatty(), but keep it simple for now.
2020-04-19 13:56:49 +02:00
Michael Osipov
63f27866bd
Fix codeset detection on HP-UX
...
On HP-UX UTF-8 aware locales end with '.utf8'.
2020-04-19 13:49:09 +02:00
Marcin Kulik
76b8248893
Whitespace
2020-04-19 13:46:42 +02:00
Marcin Kulik
e2df16b6b7
Upgrade base Docker image
2020-04-19 13:45:25 +02:00
landonb
6a4ca6f1d2
Bugfix: Ensure ASCIINEMA_REC set on record ( #372 ).
2020-04-19 13:45:07 +02:00
Marcin Kulik
350d5e9d8b
Explain env var in custom notification command
2019-09-08 11:30:46 +02:00
Marcin Kulik
e8a493239e
Ignore empty ("") custom notification command
2019-09-08 11:30:46 +02:00
Marcin Kulik
bc793d541c
Custom notification command + disabling notifications
2019-09-08 11:30:46 +02:00
Marcin Kulik
cf2f8400a2
Use icon with send-notify and terminal-notifier
2019-09-08 11:30:46 +02:00
Marcin Kulik
9875622a0c
Add terminal-notifier support
2019-09-08 11:30:46 +02:00
Marcin Kulik
99e2fa99c0
Add libnotify notifier
2019-09-08 11:30:46 +02:00
Marcin Kulik
631831dead
Fix double quote escaping in AppleScript notifier
2019-09-08 11:30:46 +02:00
David Bradway
30ed6cb98c
fix typo
2019-04-10 11:31:21 +02:00
ibrakap
f993ced914
pretty syntax
2019-04-04 09:01:18 +02:00
Marcin Kulik
bd940e9366
Simplify command building
2019-03-31 19:08:21 +02:00
Marcin Kulik
88ff927102
Put pycodestyle ignores to setup.cfg
2019-03-31 17:48:30 +02:00
Marcin Kulik
99281ca221
Ignore E722
2019-03-30 19:54:13 +01:00
Marcin Kulik
386a8e0f06
First attempt at desktop notifications
2019-03-30 19:54:13 +01:00
Marcin Kulik
50722ebd7c
Extract asynchronous processing into separate module
2019-03-30 19:54:13 +01:00
Marcin Kulik
e06cabeb2b
Stop time when recording session is paused
2019-03-30 19:54:13 +01:00
Marcin Kulik
53d0dbbfbb
"Pausing" is better than "muting"
2019-03-30 19:54:13 +01:00
Marcin Kulik
3ff14875ff
pycodestyle
2019-03-30 19:54:13 +01:00
Marcin Kulik
bfa266c470
Document muting
2019-03-30 19:54:13 +01:00
Marcin Kulik
1ad20769eb
Mute recording with ctrl+p
2019-03-30 19:54:13 +01:00
KurtPfeifle
334b795d92
Additions to manpage; modify Markdown to better please future Pandoc
2019-03-24 12:27:15 +01:00
KurtPfeifle
8ee921ea6d
Include generation date + asciinema version in manpage header
2019-03-24 12:27:15 +01:00
Marcin Kulik
7af03d8a18
Handle time offset in pty.record instead of in writer
2019-03-23 15:01:34 +01:00
Marcin Kulik
b9ece310a3
Move recording details to new recorder module
2019-03-23 14:55:11 +01:00
Marcin Kulik
2d27db20dc
Refactor v2 writer
2019-03-23 13:57:45 +01:00
Marcin Kulik
8e29f975d2
Don't overwrite buffering mode in async writer level
2019-03-23 13:20:17 +01:00
Marcin Kulik
13bb071d85
Pass append instead of mode to all writer types
2019-03-23 13:15:39 +01:00
Marcin Kulik
8aecc1d558
Let pty recorder report elapsed time
2019-03-23 12:26:20 +01:00
Marcin Kulik
d56f275a1b
Update year in copyright notice
2019-01-12 20:38:12 +01:00
Marcin Kulik
21dd13d415
Remove extra whitespace
2019-01-12 20:37:02 +01:00
Marcin Kulik
4633c87c77
Use asciinema binary as entrypoint in Docker container
2019-01-12 20:33:08 +01:00
Marcin Kulik
cc73910933
Upgrade Docker image to Ubuntu 18.04
2019-01-12 20:32:48 +01:00
Marcin Kulik
774a18d36b
Fix Docker image build
2019-01-12 20:12:30 +01:00
Marcin Kulik
ef2a0f2d18
Move Docker installation option lower - it's not very useful anyway
2019-01-12 20:08:02 +01:00
Marcin Kulik
c56027a143
Merge branch 'release/2.0.2' into develop
2019-01-12 19:58:59 +01:00
Marcin Kulik
08a2e0908c
Bump version
2019-01-12 19:58:20 +01:00
Marcin Kulik
d5ac6b618e
Update changelog
2019-01-12 19:55:50 +01:00
Marcin Kulik
accc117049
Add PyPi tag for Python 3.7
2019-01-12 19:54:59 +01:00
Marcin Kulik
0cec6ab2dd
Prefer full message over just URL in upload response
2019-01-12 18:38:46 +01:00
Jean-Philippe Ouellet
f734ee8583
Stop exiting needlessly on plain "C" locales
...
Without setting a specific *.UTF-8 locale, things default to C,
which uses a US-ASCII character encoding.
Default installs of at least OpenBSD (and likely other systems)
fall into this category, and asciinema refuses to run at all.
This is **ascii**nema after all... it should support ascii!
2018-12-08 19:25:07 +01:00
Bachynin Ivan
2fefacec92
change "how to stop recording" info message
...
print old message if command wasn't specified, print "exit opened program when you're done" otherwise
+ slight refactoring (sort imports, wrap long line)
2018-12-08 19:19:31 +01:00
Bachynin Ivan
25952127e1
add better gitignore file
...
from github's gitignores collection https://github.com/github/gitignore/blob/master/Python.gitignore
2018-12-08 19:19:31 +01:00
Marcin Kulik
8a21e6b1ad
xenial + sudo are required for testing on Python 3.7 and 3.8-dev
2018-12-08 19:11:52 +01:00
Marcin Kulik
99a20f0ae9
Test on Python 3.7 and 3.8-dev
2018-12-08 19:05:21 +01:00