diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-11-08 19:08:23 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-11-08 19:08:23 +0000 |
| commit | 88aa707b9c7f06e70843e2e70da92fac7ceafa52 (patch) | |
| tree | f18e466a67cfa4fe86bcc2e1f3e325c30814df38 /src/client.cc | |
| parent | e1fc2677e3a01b779c689a971cd2207ef08746d7 (diff) | |
For {Menu,Info}Style::Prompt, choose the anchor directly in ncurses code
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client.cc b/src/client.cc index daa89f6f..3bb6efc7 100644 --- a/src/client.cc +++ b/src/client.cc @@ -138,13 +138,11 @@ void Client::check_buffer_fs_timestamp() return; if (reload == Ask) { - CharCoord pos = context().window().dimensions(); - pos.column -= 1; m_ui->info_show( "reload '" + buffer.display_name() + "' ?", "'" + buffer.display_name() + "' was modified externally\n" "press r or y to reload, k or n to keep", - pos, get_face("Information"), InfoStyle::Prompt); + CharCoord{}, get_face("Information"), InfoStyle::Prompt); m_input_handler.on_next_key(KeymapMode::None, [this, filename](Key key, Context& context) { |
