Comments (5)
I am experiencing this issue too. I fear this has to do with the usage of the \t
character. When using a code block (three backticks), using \t
will always issue this problem. When rendering normal text, screen is not correctly cleared when using a \t
. Some pattern I noticed:
```
\t
```
will always clear wrongly.
hello\t with tab
Using a \t
inside a string is problematic, but using it at the beginning of the line is not. End of line doesn't seem to be a problem.
I am using slides
under Linux Mint, with Gnome Terminal, and under Fedora with Gnome Terminal too.
I am not familiar with Go programming language, but I might take a look at the source code to see if there is any problem regarding what I said.
from slides.
I can reproduce the same on Linux using kitty terminal.
from slides.
I find a same problems, if this page has content and the corresponding position of the previous page is blank, when I return to the previous page, the content of the corresponding position of this page will be retained, my command line environment is gnome42.9
from slides.
Seeing the same thing on macOS Sonoma with Alacritty. Removing all tabs from inside code blocks resolves the issue
from slides.
I wonder if swapping these two lines in internal/model/model.go:210-211 would fix the issue?
slide, err := r.Render(slide)
slide = strings.ReplaceAll(slide, "\t", tabSpaces)
from slides.
Related Issues (20)
- Use ANSI terminal colours instead of theme predefined colors
- Flatpak support
- go install latest fails on linux HOT 2
- Output from preprocessed commands gets squashed HOT 2
- Line breaks (new line) are not working HOT 8
- Add timer option to configuration HOT 1
- Error: Could not parse code block HOT 3
- Execute custom script for unsupported languages HOT 4
- Go Install fails to install on Fedora HOT 3
- Metadata breaks when `paging` is just `%d / %d` HOT 1
- Inline code execution and up/down navigation HOT 1
- Graph does not show properly HOT 6
- How to render utf-8 strings ?
- Support backgrounding with Ctrl+Z HOT 3
- Feature Request: Open current slide in editor HOT 2
- Support for includes/multiple markdown files HOT 4
- Should evaluating code blocks require and executable md file? HOT 3
- Markdown table not aligning
- Width of tables not working
- Add an FYI that command block execution is quite broken if installed via snap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slides.