Commit 3d6e674ffa18cf37869ac7969a2b3cb954c41317
Make prompt area as the focused widget
This is necessary to make for placing hardware cursor in the right
position on screen redraw.
Author: xaizek
Author date (UTC): 2022-01-04 13:20
Committer name: xaizek
Committer date (UTC): 2022-01-04 13:20
Parent(s): 17d766cc7245185e068827b850ea9b2f9d907b4f
Signing key: 99DC5E4DB05F6BE2
Tree: ef84985bbc38ae7d6872fffb439b2021dfd34320
File PromptRequest.cpp changed (mode: 100644) (index ecb1380..04a5479) |
... |
... |
PromptResult::PromptResult(std::wstring result) |
93 |
93 |
PromptRequest::PromptRequest(cursed::Screen &screen, cursed::Prompt &promptArea) |
PromptRequest::PromptRequest(cursed::Screen &screen, cursed::Prompt &promptArea) |
94 |
94 |
: input(cursed::Keypad::Disabled), screen(screen), promptArea(promptArea) |
: input(cursed::Keypad::Disabled), screen(screen), promptArea(promptArea) |
95 |
95 |
{ |
{ |
96 |
|
screen.showCursor(); |
|
|
96 |
|
screen.showCursor(&promptArea); |
97 |
97 |
|
|
98 |
98 |
promptHi.setBold(true); |
promptHi.setBold(true); |
99 |
99 |
} |
} |