vis icon indicating copy to clipboard operation
vis copied to clipboard

color flash upon startup & additional empty char on statusbar

Open sewnie opened this issue 3 years ago • 7 comments

https://user-images.githubusercontent.com/47404953/183268280-bf93a004-7f02-4033-84bb-29c0b0565060.mp4

sewnie avatar Aug 06 '22 22:08 sewnie

Are you using an alias? Could you try another terminal emulator? Or another shell?

MaxGyver83 avatar Aug 07 '22 07:08 MaxGyver83

Are you using an alias?

No

Could you try another terminal emulator?

Change: there is an entirely useless bar in stock alacritty settings, also still a blank character: image

Or another shell?

No change.

sewnie avatar Aug 07 '22 14:08 sewnie

OK, it's strange. Here, it doesn't flicker.

Regarding the "empty char": Do you mean the space next to the 1? I think, it's just padding. There is also one blank next to the line and column number in vim. Or do you mean the black area right to the bar? I think this also some kind of padding. When your window has a width of 170.7 characters, then the terminal uses the space needed for 170 characters and leaves the rest (0.7 character width) black. At least st does it like that.

MaxGyver83 avatar Aug 07 '22 19:08 MaxGyver83

OK, it's strange. Here, it doesn't flicker.

on stock config it occurs, here is my config:

require('vis')

vis.events.subscribe(vis.events.WIN_OPEN, function(win)
        vis:command('set theme base16-gruvbox-dark-hard')
end)

if it matters, i compiled vis with these flags: -O3 -pipe -march=x86-64-v3 -mtune=generic -fno-math-errno -fstack-protector-strong --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2

sewnie avatar Aug 07 '22 20:08 sewnie

Can you check if the flicker also occurs when setting your theme earlier? I.e.

vis.events.subscribe(vis.events.INIT, function()
        vis:command('set theme base16-gruvbox-dark-hard')
end)

leorosa avatar Aug 10 '22 15:08 leorosa

still occurs:

require('vis')

vis.events.subscribe(vis.events.INIT, function()
        vis:command('set theme base16-gruvbox-dark-hard')
end)

sewnie avatar Aug 10 '22 15:08 sewnie

is there a way i can get around this? i could probably pull of ignoring this but this really throws off my eyes each time i launch vis.

sewnie avatar Aug 10 '22 23:08 sewnie

solved in 0.8

sewnie avatar Nov 20 '22 19:11 sewnie