diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-09-12 23:39:34 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-09-12 23:39:34 +0200 |
| commit | ac7e437730ecbe32f9e4e168a3ee4a7b7f3cd761 (patch) | |
| tree | cb5b0e413373ed209d092d476f0abf4a0eeb8209 /src/main.cc | |
| parent | 916a0cb52e8637d0e6ec456363ef6412142945da (diff) | |
Move Client responsibilities to InputHandler
InputHandler owns it's UserInterface, and is directly stored by the ClientManager.
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index d068e986..d6228495 100644 --- a/src/main.cc +++ b/src/main.cc @@ -150,7 +150,7 @@ void create_local_client(const String& init_command) }; UserInterface* ui = new LocalNCursesUI{}; - static Client* client = ClientManager::instance().create_client( + static InputHandler* client = ClientManager::instance().create_client( std::unique_ptr<UserInterface>{ui}, init_command); signal(SIGHUP, [](int) { if (client) |
