当当前聚焦的窗格的宽度(在tmux方向上)太窄而无法显示确认消息时Really quit and kill all your windows [y/n]
,屏幕显示Width x chars too small
,并且不接受y
或n
。有没有办法让它显示截断的y/n
消息或完全禁用确认?
如果没有修改,没有太多的工作要做screen
。后一条消息来自Input
,仅返回而没有提供状态码(请参阅源代码):
if (len < 0) { LMsg(0, "Width %d chars too small", -len); return; }
有趣的是,该部分在去年进行了重写,删除了测试,但只发表了评论:对len使用size_t。可能的原因去除是修复编译器警告(size_t
为正)。
该更新日志中没有提到这种变化; 甚至可能不是故意的:
+Version 4.3.0 (13/06/2015):
+ * Introduce Xx string escape showing the executed command of a window
+ * Implement dead/zombie window polling, allowing for auto reconnecting
+ * Allow setting hardstatus on first line
+
+ New Commands:
+ * 'sort' command sorting windows by title
+ * 'bumpleft', 'bumpright' - manually move windows on window list
+ * 'collapse' removing numbering 'gaps' between windows, by renumbering
+ * 'windows' command now accepts arguments for use with querying
+
因此,最新版本(4.3.1)在您报告时将不起作用。至少,它不会阻止您使用输入提示。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句