Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
204
Issues
204
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
69e335c0
Commit
69e335c0
authored
Nov 27, 2010
by
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix last_words_completion
parent
956a33f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/tab.py
src/tab.py
+3
-2
No files found.
src/tab.py
View file @
69e335c0
...
...
@@ -271,9 +271,10 @@ class ChatTab(Tab):
for
msg
in
self
.
_room
.
messages
[:
-
40
:
-
1
]:
if
not
msg
:
continue
txt
=
msg
.
txt
for
char
in
char_we_dont_want
:
msg
.
txt
=
msg
.
txt
.
replace
(
char
,
' '
)
for
word
in
msg
.
txt
.
split
():
txt
=
txt
.
replace
(
char
,
' '
)
for
word
in
txt
.
split
():
if
len
(
word
)
>=
4
and
word
not
in
words
:
words
.
append
(
word
)
self
.
input
.
auto_completion
(
words
,
' '
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment