From: Roberto E. Vargas Caballero Date: Fri, 6 Nov 2015 19:01:00 +0000 (+0100) Subject: Fix ttywrite() X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/9f6d8845df3f81e2bc86f593a2f93e098422b2fa?ds=sidebyside;hp=9f6d8845df3f81e2bc86f593a2f93e098422b2fa Fix ttywrite() ttywrite was assuming that if it could not write then it could read, but this is not necessarily true, there are some situations where you cannot read or write. The correct behaviour is to detect if you can read or/and write. ---