summaryrefslogtreecommitdiff
path: root/st.h%25252525252525253fid%25252525252525253d323d38da20c8a1d295ab1dbc0fc7ce947...
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-10-15 20:35:48 -0500
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit32d3b1d00f66eda4f5446f3b32cabed2c9a77a40 (patch)
treed7e106917d1db250e23979818616665fb69437ba /st.h%25252525252525253fid%25252525252525253d323d38da20c8a1d295ab1dbc0fc7ce947ef824e1%252525252525253fid%252525252525253d416dd257274fd334be082b1138338adffa3e2d5e%2525252525253fid%2525252525253d416dd257274fd334be082b1138338adffa3e2d5e%25252525253fid%25252525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%252525253fid%252525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%2525253fid%2525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%25253fid%25253d428f01969aaf48ffa2983746c0a397bcc8946799%253fid%253d428f01969aaf48ffa2983746c0a397bcc8946799%3fid%3d65976c1a29f2945c3cfb6af74cd6440cf193021d?id=32d3b1d00f66eda4f5446f3b32cabed2c9a77a40
parent69e32a61df15787c410a48eaa10a89240c36257d (diff)
Factor out equivalent code from ttyread/ttysend
The echo-to-terminal portions of ttyread and ttysend were actually doing the same thing. New function twrite() now handles this. The parameter show_ctrl determines whether control characters are shown as "^A". This was the only difference between tputc and techo, and techo is now unused and removed. (This commit should not change st's behaviour.) Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h%25252525252525253fid%25252525252525253d323d38da20c8a1d295ab1dbc0fc7ce947ef824e1%252525252525253fid%252525252525253d416dd257274fd334be082b1138338adffa3e2d5e%2525252525253fid%2525252525253d416dd257274fd334be082b1138338adffa3e2d5e%25252525253fid%25252525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%252525253fid%252525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%2525253fid%2525253d75c9a0ee1d232a1a177746d97a13cf92b03da44a%25253fid%25253d428f01969aaf48ffa2983746c0a397bcc8946799%253fid%253d428f01969aaf48ffa2983746c0a397bcc8946799%3fid%3d65976c1a29f2945c3cfb6af74cd6440cf193021d?id=32d3b1d00f66eda4f5446f3b32cabed2c9a77a40')
0 files changed, 0 insertions, 0 deletions