Sergei Lebedev

Results 228 comments of Sergei Lebedev

`\r` instructs the terminal to do a [carriage return](https://pyte.readthedocs.io/en/latest/api.html#pyte.control.CR). The only way to get it printed in the input is to escape the `\` before printing it. I.e. before feeding...

Could you provide a reproducer please? Are you driving the `Screen` manually or from a pty?

The exact meaning of `'default'` background is unspecified by ECMA-48 (see 49 [here](https://en.wikipedia.org/wiki/ANSI_escape_code#graphics)). So different terminals might implement it differently. I think iTerm simply substitutes `'default'` for the background colour...

I've never written a themed terminal emulator, so unfortunately I can't give any practical advice here. Maybe @jonathanslenders has something to say?

> Not sure whether Pyte parses 256 colors as well [...] At the moment it doesn't, but I'd welcome a patch :)

Possibly a silly question, but do you `export TERM=xterm-256color` or do you just set it as `TERM=...`?

I think the issue might be caused by the fact that `pyte` does not handle colour palettes. Here's an excerpt from [`man console_codes`](http://man7.org/linux/man-pages/man4/console_codes.4.html): ``` ESC ] OSC (Should be: Operating...

Apologies for the delay. My guess would be that `stash` uses `/` division for line/column indices. On Python 3 `/` always produces a float. The fix is simple: replace it...

Hi @broosa, the idea sounds good to me. In fact, this is something I've been wanting to do for quite a while (and effectively make `HistoryScreen` the default implementation). I...

This is very likely a bug. Feel free to submit a PR ;)