aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMartin Algesten <martin@algesten.se>2017-05-21 18:25:08 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2017-05-24 09:10:11 -0700
commit262c70be573d4511b89305e8bea2306b028bc924 (patch)
treeaf34b500effcd0df3a6518ed9c12322f2c31e53b /src/main.rs
parent32248471667dbdea33fca5e12fa0cb8a43482106 (diff)
downloadalacritty-262c70be573d4511b89305e8bea2306b028bc924.tar.gz
alacritty-262c70be573d4511b89305e8bea2306b028bc924.zip
Fix #573. Ensure we don't write 0 bytes to pty
Any action that results in 0 bytes, such as pasting 0 bytes from the clipboard hangs the terminal (`pbcopy </dev/null` followed by ctrl-v), hangs the terminal on both macOS and Linux. This ensures we never send 0 bytes.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions