mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-02 09:31:15 +00:00
Remove history when window closed
Thanks for patch to Bill Rushmore
This commit is contained in:
parent
56dfd55d30
commit
12587955b2
3 changed files with 4 additions and 0 deletions
|
@ -452,6 +452,8 @@ sub show_history() {
|
|||
my ($self) = @_;
|
||||
if ( $self->config->{show_history} ) {
|
||||
$windows{history}->packForget();
|
||||
$windows{history}->selectAll();
|
||||
$windows{history}->deleteSelected();
|
||||
$self->config->{show_history} = 0;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue