aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-07-23 06:18:26 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2016-07-23 14:58:04 (GMT)
commite85dc01d287fa0a070b59a494419dd416d1c54f1 (patch)
tree58981ff5ab773a031f5683755789818a4cb95b14 /util/fbrun/FbRun.hh
parentd741b6fe6e805b570bb899e777ea7101f6395721 (diff)
downloadfluxbox-e85dc01d287fa0a070b59a494419dd416d1c54f1.zip
fluxbox-e85dc01d287fa0a070b59a494419dd416d1c54f1.tar.bz2
add autocompletion support to fbrun
Diffstat (limited to 'util/fbrun/FbRun.hh')
-rw-r--r--util/fbrun/FbRun.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index a74d347..f0915b0 100644
--- a/util/fbrun/FbRun.hh
+++ b/util/fbrun/FbRun.hh
@@ -42,6 +42,7 @@ public:
42 void setTitle(const std::string &title); 42 void setTitle(const std::string &title);
43 void resize(unsigned int width, unsigned int height); 43 void resize(unsigned int width, unsigned int height);
44 void setPrint(bool print) { m_print = print; } 44 void setPrint(bool print) { m_print = print; }
45 void setAutocomplete(bool complete) { m_autocomplete = complete; }
45 46
46 /// load and reconfigure for new font 47 /// load and reconfigure for new font
47 bool loadFont(const std::string &fontname); 48 bool loadFont(const std::string &fontname);
@@ -102,6 +103,7 @@ private:
102 int m_current_apps_item; ///< holds current position in apps-history 103 int m_current_apps_item; ///< holds current position in apps-history
103 104
104 size_t m_completion_pos; 105 size_t m_completion_pos;
106 bool m_autocomplete;
105 107
106 Cursor m_cursor; 108 Cursor m_cursor;
107 109