Skip to content

Commit

Permalink
Implement Conhost support for Windows
Browse files Browse the repository at this point in the history
This PR by @oshaboy implements Conhost support for Windows. It allows
symbol art to be shown without the ANSI emulation layer that was
introduced in recent updates to Windows 10.

Fixes #170 (GitHub).
  • Loading branch information
oshaboy authored Nov 11, 2023
1 parent 1cef854 commit 6613819
Show file tree
Hide file tree
Showing 5 changed files with 357 additions and 114 deletions.
3 changes: 3 additions & 0 deletions tools/chafa/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ chafa_LDADD = $(GLIB_LIBS) $(JPEG_LIBS) $(SVG_LIBS) $(TIFF_LIBS) $(WEBP_LIBS) $(

if IS_WIN32_BUILD
WIN32_LDADD = manifest.o
chafa_SOURCES += \
conhost.c \
conhost.h
manifest.o: $(srcdir)/manifest.rc
$(WINDRES) -o $@ $(srcdir)/manifest.rc
else
Expand Down
Loading

0 comments on commit 6613819

Please sign in to comment.