aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/terminal.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-09-26 18:26:34 -0500
committerRobin Jarry <robin@jarry.cc>2022-09-29 21:21:00 +0200
commit4e84df4a28d3655f2f4b259964e2c356fea9bcbc (patch)
tree72b60841b05466aa87dd83c6afe44a993c5fab97 /widgets/terminal.go
parentea58e76332cbe854ab3b812678bbf68165795908 (diff)
downloadaerc-4e84df4a28d3655f2f4b259964e2c356fea9bcbc.tar.gz
command/read: run in main thread
The read command calls store.Flag in a separate goroutine unnecessarily. Calling this method on store should be very fast, as it only sends a message to the backend worker and does not wait on IO. Call the store.Flag method from the main thread. Remove wrapper function and call store.Flag directly for cleaner code. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/terminal.go')
0 files changed, 0 insertions, 0 deletions