diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-05-05 02:33:17 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-05-05 02:33:17 -0700 |
commit | 2da81b0ae789c91c196f0ab6f154bf462bafec2d (patch) | |
tree | 4155ad8990697991e10caf0e972737c5eaac3de4 /reader.cpp | |
parent | d4c881791fb160b4b2cdc076313da00f29577e24 (diff) |
Formatting and style updates
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -874,7 +874,7 @@ void reader_react_to_color_change() { if (! data) return; - + if (! data->repaint_needed || ! data->screen_reset_needed) { data->repaint_needed = true; @@ -1006,7 +1006,7 @@ wcstring completion_apply_to_command_line(const wcstring &val_str, complete_flag if (do_escape) { /* Respect COMPLETE_DONT_ESCAPE_TILDES */ - bool no_tilde = !! (flags & COMPLETE_DONT_ESCAPE_TILDES); + bool no_tilde = !!(flags & COMPLETE_DONT_ESCAPE_TILDES); escaped = escape(val, ESCAPE_ALL | ESCAPE_NO_QUOTED | (no_tilde ? ESCAPE_NO_TILDE : 0)); sb.append(escaped); move_cursor = wcslen(escaped); @@ -1328,7 +1328,7 @@ struct autosuggestion_context_t this->autosuggestion = special_suggestion; return 1; } - + /* Maybe cancel here */ if (reader_thread_job_is_stale()) return 0; @@ -3087,7 +3087,7 @@ const wchar_t *reader_readline(void) /* Start the cycle at the beginning */ completion_cycle_idx = (size_t)(-1); - + /* Repaint */ reader_repaint_if_needed(); } |