visit1985 / mdp

A command-line based markdown presentation tool.
GNU General Public License v3.0
4.96k stars 257 forks source link

Code blocks not rendering correctly #148

Closed pillepalle1 closed 3 years ago

pillepalle1 commented 3 years ago

When embedding code blocks into the presentation, they appear just like a huge, white box across the terminal. The attached screenshot shows the output on st and alacritty

mdp --version

mdp 1.0.15 Copyright (C) 2018 Michael Goehler License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written by Michael Goehler and others, see https://github.com/visit1985/mdp/blob/master/AUTHORS.

image

visit1985 commented 3 years ago

Seems like this is an issue with sts and alacrittys integration of the ncurses lib then. It works fine in many other terminal emulators, like xterm, Gnome terminal, terminator, mintty, iterm2…