这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 21, 2019

Fixes utility 'reset' not being able to clear scrollback buffer.

…state

Fixes utility 'reset' not being able to clear scrollback buffer.
@fornwall fornwall merged commit 490853e into master Dec 23, 2019
@snogglethorpe
Copy link

snogglethorpe commented Dec 24, 2019 via email

@ghost
Copy link
Author

ghost commented Dec 24, 2019

I'm thinking it would be really unfortunate if typing Ctl-L in bash

CTRL-L never requests terminal to be reset. It just clears the current screen (equivalent to command clear). Note that this shortcut is shell-specific.

RIS sequence (sent by reset utility) does a lot more things like resetting terminal parameters and clearing memory including scrollback buffer and in some implementations even clipboard.

@ghost ghost deleted the terminal-emulator-reset-fix branch December 24, 2019 02:31
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

Successfully merging this pull request may close these issues.

2 participants