hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Hyper windows not clearing properly

Open jacekv opened this issue 7 years ago • 39 comments

  • [x] Your Hyper.app version is 3.0.2.

  • [x] I have searched the of this repo and believe that this is not a duplicate

  • Is the issue reproducible in vanilla Hyper.app? Have no plugins installed!

Issue

I am going to describe the problem based on using Nano. This problem might also be happening with tools who use the whole screen.

If you open a text file using Nano, the lower part of the hyper window is showing the Shortcuts. ok

As exit Nano, the lower part of the screen is not cleared: notok

CTRL+L does not help. Only if I click into the hyper window, the lower part gets cleared. Another way to test it is by typing a number of commands to fill the windows and try to clear it by using CTRL+L. The result is: notok2

  • Hyper version: "3.0.2"

  • OS ARCH VERSION: win32 x64 10.0.17763

  • Electron: 3.1.3 LANG: undefined

  • SHELL: undefined TERM: undefined

~/.hyper.js contents
        
          updateChannel: 'stable',
    fontSize: 12,
    fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
    fontWeight: 'normal',
    fontWeightBold: 'bold',
    lineHeight: 1,
    letterSpacing: 0,
    cursorColor: 'rgba(248,28,229,0.8)',
    cursorAccentColor: '#000',
    cursorShape: 'BLOCK',
    cursorBlink: false,
    foregroundColor: '#fff',
    backgroundColor: '#000',
    selectionColor: 'rgba(248,28,229,0.3)',
    borderColor: '#333',
    css: '',
    termCSS: '',
    showHamburgerMenu: '',
    showWindowControls: '',
    padding: '12px 14px',
    colors: {
      black: '#000000',
      red: '#C51E14',
      green: '#1DC121',
      yellow: '#C7C329',
      blue: '#0A2FC4',
      magenta: '#C839C5',
      cyan: '#20C5C6',
      white: '#C7C7C7',
      lightBlack: '#686868',
      lightRed: '#FD6F6B',
      lightGreen: '#67F86F',
      lightYellow: '#FFFA72',
      lightBlue: '#6A76FB',
      lightMagenta: '#FD7CFC',
      lightCyan: '#68FDFE',
      lightWhite: '#FFFFFF',
    },
    shell: 'C:\\Windows\\System32\\bash.exe',
    shellArgs: ['--login'],
    env: {},
    bell: 'SOUND',
    copyOnSelect: false,
    defaultSSHApp: true,
    quickEdit: false,
    macOptionSelectionMode: 'vertical',
    webGLRenderer: true,
  },
  plugins: [],
  localPlugins: []
        
      

jacekv avatar May 13 '19 07:05 jacekv

I have exactly the same issue. That started to happen to me in hyper version 3.0.0. I frequently use nano editor and this is very annoying.

kareltdlg avatar May 13 '19 18:05 kareltdlg

Same here. I've reproduced it using nano and htop. CTRL+L or clear command does not help The window cleans with a click on it.

rodrigocaus avatar May 14 '19 13:05 rodrigocaus

same here

Glenn-Jaya avatar May 14 '19 22:05 Glenn-Jaya

Same issue - using git-bash. It will leave half the screen below and not actually clear. Looks like this is a regression from a previous version since I just updated.

Suhail avatar May 16 '19 20:05 Suhail

I have the same problem WIndows 10 Pro 1809

I have noticed if i have the windows filled with text before entering Nano, the bottom is overwriten as expected when i exit Nano

image

image

image

donjo9 avatar May 22 '19 12:05 donjo9

I'm having the same problem. Windows 10 Pro 1803 @ Hyper 3.0.2 (stable)

I've noticed the problem occurs with a simple "ls -l" and a successive "clear". Upon mouseclicking the terminal window, it clears as it should.

image image

thireo avatar May 22 '19 13:05 thireo

same problem

galishmann avatar May 24 '19 16:05 galishmann

But it fix by clicking left mouse button on window.

galishmann avatar May 24 '19 16:05 galishmann

Yes same workaround. Have to click on the unclear area

ajmeraaxesh avatar May 28 '19 05:05 ajmeraaxesh

But I don't want to click into the window to clear it :D I know that in a previous version it worked without clicking the window :)

jacekv avatar May 28 '19 06:05 jacekv

Similar issue for me. Nano doesn't normally leave anything behind for me, but while editing in nano, I get artifacts of text from above when I get to the end of a file making me think there is more to it than there is. I usually just refresh with CTRL + Shift + R but that's pretty annoying to have to do constantly

dr3amnightmare avatar Jun 05 '19 15:06 dr3amnightmare

I've noticed a similar problem, although unrelated to nano. Sometimes when I use clear a portion of the window will not re-paint and I have to adjust hyper's window size or something to force a re-paint.

austinrr avatar Jun 06 '19 22:06 austinrr

Same issue here. This is the number one thing I'd like fixed in the new WebGL renderer if possible

dontsave avatar Jun 07 '19 18:06 dontsave

Same issue with a simple "ls *".

Win 1809 + Hyper 3.0.2 without plugins.

I'd try to add "env: {TERM:'msys'},", but has no effect.

thyarles avatar Jun 11 '19 19:06 thyarles

I found a workaround that worked for me... I put

// fix window size
windowSize:	[800, 600],

on my hyper conf file.

thyarles avatar Jun 11 '19 19:06 thyarles

That does'nt work for me :(

donjo9 avatar Jun 12 '19 05:06 donjo9

@thyarles It doesn't work in fullscreen

galishmann avatar Jun 21 '19 16:06 galishmann

still having an issue with clear console here too

jacob33c avatar Jul 27 '19 02:07 jacob33c

try ctrl + shift + R

lepfsd avatar Jul 28 '19 12:07 lepfsd

@lepfsd yup that's been working for me thanks!

jacob33c avatar Jul 29 '19 00:07 jacob33c