summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-04-04 01:03:18 +0200
committermathieui <mathieui@mathieui.net>2013-04-04 01:03:18 +0200
commit8a5a5bb644998fe03d8ab90d714c21d1552171a2 (patch)
treeef4e669256a0b85688652fa11cb20861a9fad455 /src/tabs.py
parent1797043464b2f1b5f0974edd489bc6aceb1bf95c (diff)
downloadpoezio-8a5a5bb644998fe03d8ab90d714c21d1552171a2.tar.gz
poezio-8a5a5bb644998fe03d8ab90d714c21d1552171a2.tar.bz2
poezio-8a5a5bb644998fe03d8ab90d714c21d1552171a2.tar.xz
poezio-8a5a5bb644998fe03d8ab90d714c21d1552171a2.zip
Fix #2255 (search in input history)
- The input is split in two parts: on the left is what the user enters, on the right is the first match (the right part has a different color) - Start and cancel a search with ^R - Validate a search with enter, then press another time enter to send - CommandInput and MessageInput now inherit from the HistoryInput class and share some methods
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 5d019bd1..7b7ee485 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -3444,6 +3444,7 @@ class MucListTab(Tab):
def reset_help_message(self, _=None):
curses.curs_set(0)
self.input = self.default_help_message
+ self.input.resize(1, self.width, self.height-1, 0)
return True
def execute_slash_command(self, txt):