nvim-platformio.lua
nvim-platformio.lua copied to clipboard
update; if pio terminal (mon or cli) perviously created, then before re-open, reassign its display_name with the new orig-window
update; if pio terminal (piomon or piocli) previously created, then before re-open again after hidden, reassign its display_name orig-window to the window it was opened from.
no need to reassign on_close() as it was assigned at the terminal (piocli or piomon) creation.