TomAwezome / veno

Multi-purpose text/code editor meant for easy and vast expandability.
https://tomawezome.github.io/veno/
GNU General Public License v3.0
16 stars 2 forks source link

Can't run in small terminal #26

Closed BrandonDyer64 closed 5 years ago

BrandonDyer64 commented 5 years ago

Editing files through SSH and the VS Code terminal is likely where I'll be using this tool the most. Veno is exceedingly useful, as a replacement to vim and nano, for using git commands.

At the moment, I'm getting an error when I try to run veno from a VS Code terminal instance, that doesn't appear with vim or nano.

➜  veno git:(dev) veno test.txt
Traceback (most recent call last):
  File "/Users/brandon.dyer/Documents/GitHub/veno/veno", line 15, in <module>
    scheduler.turn()
  File "/Users/brandon.dyer/Documents/GitHub/veno/modules/engine.py", line 50, in turn
    self.colorCustomizer.update()
  File "/Users/brandon.dyer/Documents/GitHub/veno/modules/colorcustomizer.py", line 36, in update
    self.window.mvwin(self.intendedY, self.intendedX)
_curses.error: mvwin() returned ERR

OS: MacOS Mojave Shell: szh Terminal: VS Code

TomAwezome commented 5 years ago

this bug is currently replicable by starting veno with a terminal window smaller than colorcustomizer window for a quick fix, disable (comment) the colorcustomizer module in Engine to workaround this the colorcustomizer is experimental and its code is unfinished, once it is off screen it errors out