Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown CSI codes #171

Open
Luxed opened this issue Aug 7, 2018 · 4 comments
Open

Unknown CSI codes #171

Luxed opened this issue Aug 7, 2018 · 4 comments

Comments

@Luxed
Copy link

Luxed commented Aug 7, 2018

Hello,

When doing some commands under Neovim (0.3.1) while using Butterfly (3.2.3) I get the error: Unknown CSI code: t (116) or even Unknown CSI code: q (113).
When this happens, nothing gets written on the line:
unknown_csi_codes

To reproduce the error, the following command can be used (it also shows the information that should have been printed out by the :messages command on Neovim):
unknown_csi_codes_command

This has been tried on the latest version of Opera, Chrome and Firefox.

@paradoxxxzero
Copy link
Owner

paradoxxxzero commented Aug 7, 2018 via email

@paradoxxxzero
Copy link
Owner

paradoxxxzero commented Aug 9, 2018

Ok you can safely ignore those errors.
CSI t category represents:

Window manipulation (from dtterm, as well as extensions by
xterm).  These controls may be disabled using the allowWin-
dowOps resource.
xterm uses Extended Window Manager Hints (EWMH) to maximize
the window.  Some window managers have incomplete support for
EWMH.  For instance, fvwm, flwm and quartz-wm advertise sup-
port for maximizing windows horizontally or vertically, but in
fact equate those to the maximize operation.

First CSI is CSI 22;0;0 t which means: Save xterm icon and window title on stack.
Second is CSI 8;73;111 t : Resize the text area to given height and width in characters. Omitted parameters reuse the current height or width. Zero parameters use the display's height or width.
Third is CSI 2 t : Iconify window

CSI q category is
Load LEDs (DECLL), VT100.
Last is CSI 2 q : Light Caps Lock.

So nothing important nor implementable in a browser.

@Luxed
Copy link
Author

Luxed commented Aug 9, 2018

Ok, that's good to know, but I still cannot see the text that I should in Neovim:
At the bottom left of the first screenshot, above Press ENTER or type command to continue, the text present on the second screenshot (the series of test lines) should be present. Also, the white line should be the status line.

@paradoxxxzero
Copy link
Owner

I see no visual differences here between butterfly on chrome and xterm, could you provide a step by step reproduction guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants