diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-07-03 20:59:41 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-07-03 20:59:41 +0100 |
| commit | b7be43f9b9495f22e12a0608a75c2de6757940c6 (patch) | |
| tree | 1fc9e44abbd4450c123499b91b2d46d808d908b4 /src/input_handler.cc | |
| parent | dbc1f1a8b6abde9b200d1fb6d381c5cf4beeda3d (diff) | |
| parent | fbb216d2eddee99787e87de9c22a8e4780dccf12 (diff) | |
Merge remote-tracking branch 'xificurC/master'
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
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; } |
