continued insertion testing, not sure i like this method
This commit is contained in:
1 parent
08dd616bef
commit
4d5e3dc0ea
3 files changed
+37
No files matched your search
@@ -277,6 +277,13 @@ void Window::handle_key(uint32_t scancode, uint32_t mod)
|
||||
case SDL_SCANCODE_I:
|
||||
m_buffer->piece_table->begin_insert(*m_cursor, true);
|
||||
break;
|
||||
case SDL_SCANCODE_O:
|
||||
m_buffer->piece_table->insert_code_point('*');
|
||||
redraw();
|
||||
break;
|
||||
case SDL_SCANCODE_A:
|
||||
m_buffer->piece_table->begin_insert(*m_cursor, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user