summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-07-03 21:33:08 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-07-03 21:33:08 +0100
commit15a34be46dae7b9f82d3ce020fb7e2b75bc818e4 (patch)
tree58297b967773ff0e1d91af9e21f65f97a259d5ed /src/input_handler.cc
parent9e39aab325f7221a2c4a799f2d1de1d660c308f2 (diff)
parent93b6534ef188dba78f642ec90bfed47ec82b8653 (diff)
Merge branch 'master' into colorscheme
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 5e11bfa6..30c14110 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -842,7 +842,7 @@ private:
static void history_push(History& history, StringView entry)
{
- if(entry.empty())
+ if(entry.empty() or is_horizontal_blank(entry[0_byte]))
{
return;
}