micro/internal
Dmytro Maluka 1f71667616
Fix termpane not closing automatically after terminal job finished (#3386)
Fix regression caused by the fix 0de16334d3 ("micro: Don't forward
nil events into the sub event handler"): even if the terminal was
started with `wait` set to false, it is not closed immediately after
it finished its job, instead it shows "Press enter to close".

The reason is that since the commit b68461cf72 ("Terminal plugin
callback support") the termpane code has been (slightly hackily) relying
on nil events as notifications to close the terminal after it finished
its job. So fix this by introducing a separate CloseTerms() function
for notifying termpanes about that, decoupled from HandleEvent() which
is for tcell events only.
2024-07-15 09:35:50 +02:00
..
action Fix termpane not closing automatically after terminal job finished (#3386) 2024-07-15 09:35:50 +02:00
buffer autosave: don't save unmodified buffer (#3356) 2024-06-17 12:59:32 +02:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config Temporarily don't initialize runtime files in buffer test 2024-04-03 04:37:44 +02:00
display Rework FindMatchingBrace() interface and implementation (#3319) 2024-06-05 00:56:19 +02:00
info Reordered prompt done callback to avoid accessing out of bound history (#3318) 2024-06-02 20:00:13 +02:00
lua Revert "Don't expose Go timers directly to lua" (#3211) 2024-03-25 17:11:12 +01:00
screen Reset mouse release state after restarting the screen 2023-01-29 18:26:55 +01:00
shell Return error with start in RunInteractiveShell 2024-06-22 21:21:13 +08:00
util Move sigterm channel to internal/util 2024-06-17 18:08:18 +08:00
views chore: fix some typos (#3239) 2024-04-08 12:04:38 +02:00