summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-04-26 18:59:58 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-04-26 18:59:58 +0200
commite7341909792c26af7d7f1b0666e6973626cbf835 (patch)
treea0c2bde1cdd0bff8268bd407ab156ad0c4220238
parentb7d6933be6a05acf507299dbde64a7c4e9850111 (diff)
downloadxK-e7341909792c26af7d7f1b0666e6973626cbf835.tar.gz
xK-e7341909792c26af7d7f1b0666e6973626cbf835.tar.xz
xK-e7341909792c26af7d7f1b0666e6973626cbf835.zip
degesch: set the server buffer as default
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 972eb3e..2cc7944 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4057,7 +4057,7 @@ main (int argc, char *argv[])
init_colors (&ctx);
init_poller_events (&ctx);
init_buffers (&ctx);
- ctx.current_buffer = ctx.global_buffer;
+ ctx.current_buffer = ctx.server_buffer;
refresh_prompt (&ctx);
// TODO: connect asynchronously (first step towards multiple servers)