Oh, good idea. I think adding it to the select-pane command makes more sense.

Please see attached patch.

–Anish

Attachment: 0001-Add-feature-to-enable-or-disable-keyboard-input.patch
Description: Binary data



On Aug 7, 2014, at 8:16 AM, Nicholas Marriott <nicholas.marri...@gmail.com> 
wrote:

> Please make this a flag or a pair of flags on an existing command. Maybe
> select-pane or kill-pane.
> 
> 
> 
> On Thu, Aug 07, 2014 at 07:25:27AM +0000, Anish R Athalye wrote:
>> Here?s a slightly modified version of the patch ? changed the interface 
>> slightly (better names).
>> 
>> ?Anish
>> 
>> 
>> 
>> 
>> On Aug 6, 2014, at 11:58 PM, Anish R Athalye <aatha...@mit.edu> wrote:
>> 
>>> I think that it would be nice to have the ability to make specific panes 
>>> read only (switching from read/write).
>>> 
>>> I?ve wanted this feature to keep myself from accidentally sending input to 
>>> certain processes that I?ve started in certain panes (that I?m just 
>>> monitoring). This would be great for things like long compilation processes 
>>> that should be monitored but shouldn?t accidentally be disturbed. This 
>>> could even be useful for making something like an htop pane read only.
>>> 
>>> It looks like there are some other people looking for this feature: 
>>> http://unix.stackexchange.com/questions/7588/is-there-a-tmux-shortcut-to-go-read-only
>>> 
>>> If you?re happy with the change, the attached patch is good to go with a 
>>> `git am`.
>>> 
>>> 
>>> ?Anish
>>> 
>>> <0001-Implement-command-to-enable-disable-input.patch>
>>> ------------------------------------------------------------------------------
>>> Infragistics Professional
>>> Build stunning WinForms apps today!
>>> Reboot your WinForms applications with our WinForms controls. 
>>> Build a bridge from your legacy apps to the future.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk_______________________________________________
>>> tmux-users mailing list
>>> tmux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>> 
> 
> 
> 
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls. 
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> 
>> _______________________________________________
>> tmux-users mailing list
>> tmux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tmux-users
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to