mobile-shell/mosh

Suppress input on long disconnects

开放

#236 创建于 2012年4月24日

 (3 条评论) (0 个反应) (0 位负责人)C++ (737 个派生)batch import
featuregood first issue

仓库指标

星标
 (12,063 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

When I leave mosh-client running disconnected for a while (like on an airplane), I worry that I will accidentally type some gibberish into the window, and hours later it will be sent to an IRC channel. I already talked to one person who independently shared this concern, so it's not 100% a case of me worrying too much.

Or I might send input deliberately, but before Mosh reconnects, I attach to the server-side screen from another client and switch windows. Now the input will go to the wrong program.

I think what I want is a Mosh escape sequence which clears queued input, and disables further input until it hears from the server again. But a fixed timeout would be OK too.

贡献者指南