]> git.eshelyaron.com Git - emacs.git/commit
Update texts while busy
authorYuuki Harano <masm+github@masm11.me>
Sat, 15 May 2021 13:50:06 +0000 (22:50 +0900)
committerYuuki Harano <masm+github@masm11.me>
Sat, 15 May 2021 13:50:06 +0000 (22:50 +0900)
commit8a649cba44cc637b5326cee9fe3febc55c653719
tree30995b4998e1ba9bfe52ad914b5fdcd18ad9fcb6
parent3f8f3a9027a1de28899725f0fecdc4f1f33c1479
Update texts while busy

Pgtk didn't update text and C-g didn't take effect while it is busy.
By timer interrupts, we can call pgtk_read_socket, and update texts
and handle C-g.

* src/pgtkterm.c (start_timer): New function to start timer.
(pgtk_show_hourglass): Remove code to start timer.
(pgtk_hide_hourglass): Remove code to stop timer.
(pgtk_term_init): Call start_timer().
src/pgtkterm.c