aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/mason/ui/instance.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason/ui/instance.lua b/lua/mason/ui/instance.lua
index ba50c47a..c7be07e1 100644
--- a/lua/mason/ui/instance.lua
+++ b/lua/mason/ui/instance.lua
@@ -221,7 +221,7 @@ local function setup_handle(handle)
local function handle_spawnhandle_change()
mutate_state(function(state)
state.packages.states[handle.package.name].latest_spawn =
- handle:peek_spawn_handle():map(tostring):or_else(nil)
+ handle:peek_spawn_handle():map(tostring):map(_.gsub("\n", "\\n ")):or_else(nil)
end)
end