aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-05-05 02:33:17 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-05-05 02:33:17 -0700
commit2da81b0ae789c91c196f0ab6f154bf462bafec2d (patch)
tree4155ad8990697991e10caf0e972737c5eaac3de4 /reader.cpp
parentd4c881791fb160b4b2cdc076313da00f29577e24 (diff)
Formatting and style updates
Diffstat (limited to 'reader.cpp')
-rw-r--r--reader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/reader.cpp b/reader.cpp
index fae46011..f7f92e58 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -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();
}