aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-05-09 19:06:24 +0600
committerN-R-K <nrk@disroot.org>2022-05-19 11:44:30 +0000
commitb4268fbf38d1f8433c73999466e116e68c7f81e7 (patch)
tree958dd78c0376f2a9ef79014634dff291f4b5895b /Makefile
parentf255e1cc1217ee7497436909a8a9b8dbf8fd270e (diff)
fix: broken statusbar after key-handler cancellation
to reproduce: 1. have an image-info script 2. invoke the key-handler 3. cancle invocation by pressing `escape` at this point, the statusbar ends up being empty. the regression seems to be caused by 6922d5d (changing select to poll), unsure why that is. in any case, this simplifies read_info quite a bit and solves the regression as well. in short: * read straight into the statusbar buffer * if read succeeds, make sure buffer is null terminated and replace any newline with space * close the script
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions