aboutsummaryrefslogtreecommitdiff
path: root/src/signal/sigwinch_handler.cc
blob: a686328174965ea6f0a45d1e1b4be949e729b374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#include "signal_handler.h"

#include "line/line_editor.h"
#include "pipe.h"

namespace ov4
{

void sigwinch_handler([[maybe_unused]] int sig)
{
    windows_size_changed = true;
    self_pipe_write();
}

}