Merge pull request #2639 from eljobe/fix/list-themes

Fix copying the theme name
This commit is contained in:
Mitchell Hashimoto
2024-11-09 09:39:35 -08:00
committed by GitHub

View File

@ -382,8 +382,8 @@ const Preview = struct {
self.tty.anyWriter(),
self.themes[self.filtered.items[self.current]].theme,
alloc,
);
if (key.matches('c', .{ .shift = true }))
)
else if (key.matches('c', .{ .shift = true }))
try self.vx.copyToSystemClipboard(
self.tty.anyWriter(),
self.themes[self.filtered.items[self.current]].path,