summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-07-03 20:59:41 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-07-03 20:59:41 +0100
commitb7be43f9b9495f22e12a0608a75c2de6757940c6 (patch)
tree1fc9e44abbd4450c123499b91b2d46d808d908b4 /src/input_handler.cc
parentdbc1f1a8b6abde9b200d1fb6d381c5cf4beeda3d (diff)
parentfbb216d2eddee99787e87de9c22a8e4780dccf12 (diff)
Merge remote-tracking branch 'xificurC/master'
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;
}