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
02a80567
Commit
02a80567
authored
Jan 09, 2011
by
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the separator when it is at the bottom (unles the user maid M-v)
parent
3ef50faf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/tabs.py
src/tabs.py
+2
-0
src/windows.py
src/windows.py
+3
-3
No files found.
src/tabs.py
View file @
02a80567
...
...
@@ -605,6 +605,8 @@ class MucTab(ChatTab):
def
on_gain_focus
(
self
):
self
.
_room
.
set_color_state
(
theme
.
COLOR_TAB_CURRENT
)
if
self
.
text_win
.
built_lines
[
-
1
]
is
None
:
self
.
text_win
.
remove_line_separator
()
curses
.
curs_set
(
1
)
def
on_scroll_up
(
self
):
...
...
src/windows.py
View file @
02a80567
...
...
@@ -536,10 +536,10 @@ class TextWin(Win):
"""
if
self
.
height
<=
0
:
return
if
self
.
pos
!=
0
:
lines
=
self
.
built_lines
[
-
self
.
height
-
self
.
pos
:
-
self
.
pos
]
else
:
if
self
.
pos
==
0
:
lines
=
self
.
built_lines
[
-
self
.
height
:]
else
:
lines
=
self
.
built_lines
[
-
self
.
height
-
self
.
pos
:
-
self
.
pos
]
self
.
_win
.
move
(
0
,
0
)
with
g_lock
:
self
.
_win
.
erase
()
...
...
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