diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-12 21:51:55 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-12 21:51:55 +0200 |
commit | 720cb816dcff55f8b75bdc2a8ffa265f460f5d55 (patch) | |
tree | 1e399c343f102eca23f2cbe97c2d33414b42bb93 /st.1 | |
parent | b9d5fec4f277b688b3bb4741134abf152e801e90 (diff) | |
download | st-720cb816dcff55f8b75bdc2a8ffa265f460f5d55.tar.gz st-720cb816dcff55f8b75bdc2a8ffa265f460f5d55.tar.bz2 |
Remove buffering to fileio instead of calling fflush
By default text files are line buffered, and this means that -f option will
not write the line until a \n is printed. This is not very useful for
debugging, so a call to fflush was added. This patch substitute this call
(which will be done by each character painted) by the full remove of the
buffering in the file.
---
st.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Diffstat (limited to 'st.1')
0 files changed, 0 insertions, 0 deletions