diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-20 20:08:56 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-20 20:08:56 -0700 |
commit | d6791a836b887d8de79af6a2b2b2385d5ebc27b3 (patch) | |
tree | 8a52a387b37d013be174b23e36064740b7ce217a /screen.h | |
parent | 69c6b007aa5d478873cedf0330f1a48641581467 (diff) |
Include the autosuggestion in history if it was truncated
Diffstat (limited to 'screen.h')
-rw-r--r-- | screen.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -140,6 +140,9 @@ public: /** If we support soft wrapping, we can output to this location without any cursor motion. */ screen_data_t::cursor_t soft_wrap_location; + + /** Whether the last-drawn autosuggestion (if any) is truncated, or hidden entirely */ + bool autosuggestion_is_truncated; /** This flag is set to true when there is reason to suspect that @@ -155,7 +158,7 @@ public: /** If we need to clear, this is how many lines the actual screen had, before we reset it. This is used when resizing the window larger: if the cursor jumps to the line above, we need to remember to clear the subsequent lines. */ size_t actual_lines_before_reset; - + /** These status buffers are used to check if any output has occurred other than from fish's main loop, in which case we need to redraw. |