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
205
Issues
205
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
cb9ec926
Commit
cb9ec926
authored
Dec 21, 2010
by
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
little fix
parent
dc791057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/windows.py
src/windows.py
+2
-2
No files found.
src/windows.py
View file @
cb9ec926
...
...
@@ -529,6 +529,7 @@ class TextWin(Win):
self
.
_win
.
attron
(
curses
.
color_pair
(
theme
.
COLOR_NEW_TEXT_SEPARATOR
))
self
.
addnstr
(
'- '
*
(
self
.
width
//
2
),
self
.
width
)
self
.
_win
.
attroff
(
curses
.
color_pair
(
theme
.
COLOR_NEW_TEXT_SEPARATOR
))
self
.
addstr
(
'
\n
'
)
def
write_text
(
self
,
y
,
x
,
txt
,
color
,
colorized
):
"""
...
...
@@ -961,8 +962,7 @@ class Input(Win):
with
g_lock
:
self
.
_win
.
erase
()
self
.
addstr
(
self
.
text
[
self
.
line_pos
:
self
.
line_pos
+
self
.
width
-
1
])
cursor_pos
=
self
.
pos
self
.
addstr
(
0
,
cursor_pos
,
''
)
# WTF, this works but .move() doesn't…
self
.
addstr
(
0
,
self
.
pos
,
''
)
# WTF, this works but .move() doesn't…
self
.
_refresh
()
def
refresh
(
self
):
...
...
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